Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.0009635, allocations: 167.6 kB / 16.8 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 223 MB, free: 9.027 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.0007872/0.0007871, allocations: 90.3 kB / 271.3 MB, free: 8.262 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.07936/0.07936, allocations: 12.6 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 15.98 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09704, allocations: 50.37 MB / 443.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4383, allocations: 78.52 MB / 0.5099 GB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4386, allocations: 81.5 kB / 0.51 GB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003553/0.4422, allocations: 1.409 MB / 0.5113 GB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4422, allocations: 0 / 0.5113 GB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.4422, allocations: 4 kB / 0.5113 GB, free: 12.76 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003565/0.4426, allocations: 369.2 kB / 0.5117 GB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4426, allocations: 11.56 kB / 0.5117 GB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.4427, allocations: 12.64 kB / 0.5117 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4428, allocations: 191.7 kB / 0.5119 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.4429, allocations: 4.281 kB / 0.5119 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4429, allocations: 12 kB / 0.5119 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4431, allocations: 111.2 kB / 0.512 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4432, allocations: 192 / 0.512 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4432, allocations: 7.922 kB / 0.512 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4432, allocations: 0 / 0.512 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.4433, allocations: 36.97 kB / 0.5121 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.4436, allocations: 267.5 kB / 0.5123 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4438, allocations: 144.8 kB / 0.5125 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.4439, allocations: 32.7 kB / 0.5125 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4439, allocations: 0 / 0.5125 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.444, allocations: 30.56 kB / 0.5125 GB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.444, allocations: 4 kB / 0.5125 GB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002615/0.4442, allocations: 90.62 kB / 0.5126 GB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4443, allocations: 81.08 kB / 0.5127 GB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.4444, allocations: 137.5 kB / 0.5128 GB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4444, allocations: 25.7 kB / 0.5128 GB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.4445, allocations: 91.56 kB / 0.5129 GB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.4445, allocations: 11.78 kB / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.4445, allocations: 3.812 kB / 0.5129 GB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.4445, allocations: 318.7 kB / 0.5133 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.4446, allocations: 15.05 kB / 0.5133 GB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.4446, allocations: 31.05 kB / 0.5133 GB, free: 10.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.4447, allocations: 57.52 kB / 0.5134 GB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.4447, allocations: 3.938 kB / 0.5134 GB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001095/0.4448, allocations: 71.75 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4449, allocations: 3.906 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4449, allocations: 0.7812 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4449, allocations: 3.906 kB / 0.5134 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.445, allocations: 11.89 kB / 0.5134 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.445, allocations: 0 / 0.5134 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.445, allocations: 3.719 kB / 0.5134 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.445, allocations: 8 kB / 0.5135 GB, free: 10.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.497e-05/0.4451, allocations: 132.6 kB / 0.5136 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.4452, allocations: 44.89 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.4452, allocations: 15.33 kB / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4452, allocations: 0 / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4452, allocations: 0 / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4452, allocations: 3.719 kB / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4454, allocations: 171.7 kB / 0.5138 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4454, allocations: 0 / 0.5138 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.4454, allocations: 15.7 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4454, allocations: 3.844 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4454, allocations: 0 / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4454, allocations: 0.875 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4454, allocations: 3.938 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.4456, allocations: 177.3 kB / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4456, allocations: 96.69 kB / 0.5141 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4457, allocations: 3.625 kB / 0.5141 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.4457, allocations: 3.844 kB / 0.5141 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.4458, allocations: 3.984 kB / 0.5141 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4458, allocations: 0.875 kB / 0.5141 GB, free: 10.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.4458, allocations: 107 kB / 0.5142 GB, free: 9.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4458, allocations: 0 / 0.5142 GB, free: 9.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.4461, allocations: 11.69 kB / 0.5142 GB, free: 9.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.447e-05/0.4461, allocations: 98.61 kB / 0.5143 GB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4463, allocations: 34.36 kB / 0.5143 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4463, allocations: 0 / 0.5143 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.4463, allocations: 11.09 kB / 0.5144 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4466, allocations: 36.62 kB / 0.5144 GB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.4469, allocations: 186.1 kB / 0.5146 GB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4471, allocations: 0.6883 MB / 0.5152 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.4471, allocations: 11.83 kB / 0.5152 GB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.4471, allocations: 7.438 kB / 0.5153 GB, free: 8.961 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4471, allocations: 0 / 0.5153 GB, free: 8.961 MB / 330.7 MB Notification: Performance of Templates: time 0.002211/0.4494, allocations: 477.7 kB / 0.5157 GB, free: 8.73 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches