Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 181.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.2 MB / 219 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 93 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1404/0.1404, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.851e-05, allocations: 4 kB / 386.1 MB, free: 69.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09448, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5382, allocations: 78.43 MB / 0.5028 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5386, allocations: 75.44 kB / 0.5029 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.5523, allocations: 3.25 MB / 0.5061 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5523, allocations: 0 / 0.5061 GB, free: 11.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5524, allocations: 3.875 kB / 0.5061 GB, free: 11.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005056/0.5529, allocations: 399.1 kB / 0.5065 GB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5529, allocations: 7.688 kB / 0.5065 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.553, allocations: 40.48 kB / 0.5065 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.553, allocations: 7.781 kB / 0.5065 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.5533, allocations: 204.1 kB / 0.5067 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.5533, allocations: 7.062 kB / 0.5067 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.5534, allocations: 3.844 kB / 0.5067 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.5538, allocations: 201.6 kB / 0.5069 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5538, allocations: 0 / 0.5069 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.5539, allocations: 3.656 kB / 0.5069 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5539, allocations: 0 / 0.5069 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.554, allocations: 38.08 kB / 0.507 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.5544, allocations: 303 kB / 0.5072 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.5546, allocations: 88.59 kB / 0.5073 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.5547, allocations: 48.27 kB / 0.5074 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5547, allocations: 0 / 0.5074 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.5548, allocations: 41.91 kB / 0.5074 GB, free: 10.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.975e-06/0.5548, allocations: 0 / 0.5074 GB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002925/0.5551, allocations: 102.3 kB / 0.5075 GB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.5552, allocations: 109.8 kB / 0.5076 GB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.5553, allocations: 137.7 kB / 0.5078 GB, free: 9.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.5553, allocations: 29.67 kB / 0.5078 GB, free: 9.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5554, allocations: 91.73 kB / 0.5079 GB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5554, allocations: 14.95 kB / 0.5079 GB, free: 9.863 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.5554, allocations: 3.812 kB / 0.5079 GB, free: 9.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.5555, allocations: 318.3 kB / 0.5082 GB, free: 9.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.5556, allocations: 10.97 kB / 0.5082 GB, free: 9.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.5557, allocations: 83.78 kB / 0.5083 GB, free: 9.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.5557, allocations: 34.67 kB / 0.5083 GB, free: 9.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5558, allocations: 0 / 0.5083 GB, free: 9.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002294/0.556, allocations: 121.3 kB / 0.5084 GB, free: 9.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.556, allocations: 4.219 kB / 0.5084 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.556, allocations: 7.844 kB / 0.5084 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5561, allocations: 3.844 kB / 0.5084 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.5563, allocations: 26.52 kB / 0.5085 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5563, allocations: 7.781 kB / 0.5085 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.5564, allocations: 11.83 kB / 0.5085 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5564, allocations: 11.61 kB / 0.5085 GB, free: 9.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/0.5565, allocations: 123.3 kB / 0.5086 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.5567, allocations: 94.16 kB / 0.5087 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.5568, allocations: 18.58 kB / 0.5087 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.5568, allocations: 3.844 kB / 0.5087 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5568, allocations: 0 / 0.5087 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5568, allocations: 3.969 kB / 0.5087 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.557, allocations: 179.5 kB / 0.5089 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.557, allocations: 0 / 0.5089 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.5572, allocations: 34.41 kB / 0.5089 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5572, allocations: 0 / 0.5089 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5572, allocations: 0 / 0.5089 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5573, allocations: 3.844 kB / 0.5089 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5573, allocations: 4 kB / 0.5089 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.5575, allocations: 227.7 kB / 0.5092 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.5576, allocations: 107.3 kB / 0.5093 GB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.5577, allocations: 0 / 0.5093 GB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5578, allocations: 11.22 kB / 0.5093 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5579, allocations: 7.766 kB / 0.5093 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5579, allocations: 11.67 kB / 0.5093 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.452e-05/0.558, allocations: 109.4 kB / 0.5094 GB, free: 8.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.558, allocations: 0 / 0.5094 GB, free: 8.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.5583, allocations: 15 kB / 0.5094 GB, free: 8.566 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006271/0.559, allocations: 0.9368 MB / 0.5103 GB, free: 7.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5592, allocations: 65.47 kB / 0.5104 GB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5592, allocations: 3.938 kB / 0.5104 GB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.5593, allocations: 8 kB / 0.5104 GB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.5597, allocations: 54.28 kB / 0.5105 GB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.5603, allocations: 187.7 kB / 0.5106 GB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.5605, allocations: 0.7075 MB / 0.5113 GB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.5606, allocations: 8.469 kB / 0.5113 GB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.5607, allocations: 29.8 kB / 0.5114 GB, free: 6.785 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5607, allocations: 0 / 0.5114 GB, free: 6.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.5834, allocations: 1.966 MB / 0.5133 GB, free: 5.742 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/0.5837, allocations: 182 kB / 0.5135 GB, free: 5.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.164, allocations: 3.938 kB / 0.5135 GB, free: 5.52 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat