Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008163/0.0008163, allocations: 93.42 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.948e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 51.49 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4602, allocations: 77.17 MB / 472.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4605, allocations: 80.22 kB / 472.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007225/0.4678, allocations: 2.198 MB / 474.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4678, allocations: 0 / 474.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4678, allocations: 4 kB / 474.6 MB, free: 13.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003819/0.4682, allocations: 369.4 kB / 475 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4683, allocations: 9.438 kB / 475 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.4685, allocations: 23.25 kB / 475 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.4687, allocations: 190.4 kB / 475.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4687, allocations: 0 / 475.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4688, allocations: 7.609 kB / 475.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.4689, allocations: 13.17 kB / 475.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.4692, allocations: 109.1 kB / 475.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4692, allocations: 1.688 kB / 475.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4692, allocations: 1.781 kB / 475.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4692, allocations: 0 / 475.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4696, allocations: 265.2 kB / 475.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.4697, allocations: 56.7 kB / 475.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.4698, allocations: 26.86 kB / 475.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4698, allocations: 5.406 kB / 475.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4698, allocations: 34.56 kB / 475.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4699, allocations: 0 / 475.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002306/0.4701, allocations: 58.84 kB / 475.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4701, allocations: 108 kB / 475.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4703, allocations: 121.9 kB / 476 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4703, allocations: 25.7 kB / 476 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.4704, allocations: 99.86 kB / 476.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.4704, allocations: 3.938 kB / 476.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.4704, allocations: 0 / 476.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.4705, allocations: 325.1 kB / 476.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.4705, allocations: 3.562 kB / 476.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.4705, allocations: 29.02 kB / 476.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.4706, allocations: 12.22 kB / 476.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4706, allocations: 7.469 kB / 476.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.4707, allocations: 55.02 kB / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4707, allocations: 4 kB / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4707, allocations: 0 / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4708, allocations: 5.266 kB / 476.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4709, allocations: 9.438 kB / 476.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4709, allocations: 5.172 kB / 476.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.471, allocations: 4 kB / 476.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.471, allocations: 5.453 kB / 476.6 MB, free: 11.02 MB / 346.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 () * 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.791e-05/0.4711, allocations: 112.4 kB / 476.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.4712, allocations: 43.11 kB / 476.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.4712, allocations: 13.75 kB / 476.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4712, allocations: 0 / 476.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4713, allocations: 4.062 kB / 476.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4713, allocations: 8.078 kB / 476.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4714, allocations: 149.7 kB / 476.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4715, allocations: 0 / 476.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.4715, allocations: 14.86 kB / 476.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4715, allocations: 4 kB / 476.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4716, allocations: 0 / 476.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4716, allocations: 5.531 kB / 476.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4716, allocations: 7.75 kB / 476.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.4718, allocations: 190.1 kB / 477.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.4718, allocations: 89.8 kB / 477.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.4719, allocations: 4 kB / 477.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.472, allocations: 5.312 kB / 477.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.472, allocations: 7.25 kB / 477.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.472, allocations: 1.547 kB / 477.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.876e-05/0.4721, allocations: 104.7 kB / 477.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.4721, allocations: 0 / 477.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.4726, allocations: 15.88 kB / 477.3 MB, free: 10.22 MB / 346.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: 0 () * Number of discrete 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 0.0001143/0.4727, allocations: 100.5 kB / 477.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.4728, allocations: 20.95 kB / 477.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4728, allocations: 256 / 477.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.4729, allocations: 11.94 kB / 477.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4732, allocations: 25.59 kB / 477.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.4736, allocations: 101.3 kB / 477.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4737, allocations: 0.6983 MB / 478.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.4738, allocations: 4.438 kB / 478.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.4738, allocations: 13.17 kB / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4739, allocations: 0 / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of Templates: time 0.003559/0.4774, allocations: 0.4901 MB / 478.8 MB, free: 8.973 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches