Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 204.9 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.705/1.705, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 63.84 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6508, allocations: 50.55 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.007759/0.6587, allocations: 1.879 MB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.6628, allocations: 1.297 MB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.6632, allocations: 4 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.6639, allocations: 71.67 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009141/0.6649, allocations: 135.4 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.6663, allocations: 234.9 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000612/0.6669, allocations: 183.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.6672, allocations: 25.56 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.6675, allocations: 75.69 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.6678, allocations: 79.67 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.6678, allocations: 8 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.6682, allocations: 67.91 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.6684, allocations: 55.81 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.6687, allocations: 83.42 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.6695, allocations: 243 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.6695, allocations: 0 / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6695, allocations: 0 / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.6695, allocations: 0 / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001618/0.6711, allocations: 0.5402 MB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.6712, allocations: 12.03 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6714, allocations: 24.66 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.6723, allocations: 287.6 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.6724, allocations: 8.375 kB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.6724, allocations: 8.125 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.6731, allocations: 159.5 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6731, allocations: 0 / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.6731, allocations: 4 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.6732, allocations: 4 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.6734, allocations: 35.91 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.6744, allocations: 382.5 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.6749, allocations: 115.9 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.675, allocations: 46.5 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.6751, allocations: 16.05 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.6754, allocations: 71.39 kB / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.787e-06/0.6754, allocations: 0 / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007566/0.6762, allocations: 157.4 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/0.6765, allocations: 162.5 kB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.6773, allocations: 338.7 kB / 416.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.6774, allocations: 29.7 kB / 416.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.6776, allocations: 132 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.6777, allocations: 23.73 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6778, allocations: 25.72 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003538/0.6782, allocations: 338.8 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.6784, allocations: 28.05 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.6787, allocations: 86.84 kB / 417.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.6791, allocations: 84.22 kB / 417.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6791, allocations: 7.875 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004184/0.6795, allocations: 121.3 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6796, allocations: 8 kB / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6796, allocations: 0 / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.6796, allocations: 4 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6798, allocations: 19.92 kB / 417.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6799, allocations: 8.125 kB / 417.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.68, allocations: 7.938 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.6801, allocations: 8 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.6803, allocations: 157.8 kB / 417.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.6805, allocations: 65.36 kB / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.6806, allocations: 25.7 kB / 417.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6807, allocations: 4 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6807, allocations: 64 / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6807, allocations: 11.92 kB / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.6812, allocations: 241.5 kB / 418.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6813, allocations: 0 / 418.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.6814, allocations: 15.98 kB / 418.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.6814, allocations: 0 / 418.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6814, allocations: 8 kB / 418.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.6815, allocations: 7.938 kB / 418.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6815, allocations: 0 / 418.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.682, allocations: 170.4 kB / 418.3 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.6822, allocations: 112.8 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.6823, allocations: 8 kB / 418.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.6824, allocations: 4 kB / 418.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6826, allocations: 11.98 kB / 418.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.6826, allocations: 7.938 kB / 418.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004588/0.6831, allocations: 245.9 kB / 418.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6831, allocations: 4 kB / 418.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.6836, allocations: 32 kB / 418.7 MB, free: 8.359 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/0.6857, allocations: 426.5 kB / 419.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.6861, allocations: 67.91 kB / 419.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6861, allocations: 3.938 kB / 419.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.6863, allocations: 28.23 kB / 419.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.687, allocations: 80.72 kB / 419.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.6884, allocations: 402.7 kB / 419.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.6892, allocations: 0.7477 MB / 420.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.6893, allocations: 19.44 kB / 420.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6894, allocations: 0 / 420.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of Templates: time 0.0108/0.7002, allocations: 2.987 MB / 423.4 MB, free: 3.699 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches