Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.667/1.667, allocations: 230.4 MB / 251.1 MB, free: 8.484 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 68.08 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 53.32 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00483/0.3672, allocations: 1.906 MB / 424.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.3698, allocations: 1.301 MB / 425.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.37, allocations: 8 kB / 425.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.3704, allocations: 71.66 kB / 425.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.3709, allocations: 135.4 kB / 425.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.3717, allocations: 233 kB / 425.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.3721, allocations: 179.6 kB / 426.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3722, allocations: 21.55 kB / 426.1 MB, free: 4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3724, allocations: 71.69 kB / 426.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3725, allocations: 95.53 kB / 426.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.3726, allocations: 8 kB / 426.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.3728, allocations: 63.97 kB / 426.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3729, allocations: 55.81 kB / 426.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.373, allocations: 79.42 kB / 426.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.3734, allocations: 238.5 kB / 426.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3734, allocations: 7.938 kB / 426.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3734, allocations: 4 kB / 426.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3735, allocations: 0 / 426.7 MB, free: 3.391 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.0009575/0.3744, allocations: 0.5387 MB / 427.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3745, allocations: 8.922 kB / 427.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.3745, allocations: 24.8 kB / 427.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.3751, allocations: 299.7 kB / 427.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3751, allocations: 4.375 kB / 427.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3751, allocations: 16.06 kB / 427.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.3755, allocations: 157.8 kB / 427.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3755, allocations: 3.938 kB / 427.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3756, allocations: 8 kB / 427.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3756, allocations: 0 / 427.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3757, allocations: 39.97 kB / 427.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.3763, allocations: 382.3 kB / 428.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.3766, allocations: 115.9 kB / 428.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.3767, allocations: 42.56 kB / 428.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3767, allocations: 4 kB / 428.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3769, allocations: 87.31 kB / 428.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3769, allocations: 0 / 428.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004333/0.3773, allocations: 153.4 kB / 428.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3774, allocations: 158.2 kB / 428.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3778, allocations: 334.9 kB / 429.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3779, allocations: 33.69 kB / 429.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.378, allocations: 136 kB / 429.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.378, allocations: 11.91 kB / 429.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.3781, allocations: 33.7 kB / 429.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3782, allocations: 338.8 kB / 429.6 MB, free: 216 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.3783, allocations: 27.92 kB / 429.6 MB, free: 188 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3784, allocations: 82.86 kB / 429.7 MB, free: 80 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3786, allocations: 80.27 kB / 429.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3786, allocations: 7.938 kB / 429.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/0.3789, allocations: 129.3 kB / 429.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3789, allocations: 4 kB / 429.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3789, allocations: 4 kB / 429.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3789, allocations: 0 / 429.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3791, allocations: 19.98 kB / 429.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3791, allocations: 0 / 429.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.3791, allocations: 11.94 kB / 430 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3792, allocations: 4.125 kB / 430 MB, free: 15.8 MB / 350.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.0001577/0.3793, allocations: 165.7 kB / 430.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.3794, allocations: 65.52 kB / 430.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.3797, allocations: 127.7 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3797, allocations: 4 kB / 430.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3797, allocations: 0 / 430.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3797, allocations: 7.938 kB / 430.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3799, allocations: 237.7 kB / 430.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3799, allocations: 4 kB / 430.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.38, allocations: 8 kB / 430.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.872e-06/0.38, allocations: 4 kB / 430.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.38, allocations: 3.938 kB / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.38, allocations: 3.984 kB / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.38, allocations: 7.984 kB / 430.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3803, allocations: 170.6 kB / 430.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3804, allocations: 116.9 kB / 430.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3805, allocations: 8 kB / 430.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3805, allocations: 7.984 kB / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3806, allocations: 4 kB / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3806, allocations: 15.92 kB / 430.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002747/0.3809, allocations: 241.9 kB / 431.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3809, allocations: 0 / 431.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3812, allocations: 35.94 kB / 431.2 MB, free: 14.47 MB / 350.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001608/0.3828, allocations: 427.3 kB / 431.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.383, allocations: 67.91 kB / 431.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.383, allocations: 0 / 431.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.3831, allocations: 35.91 kB / 431.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3835, allocations: 56.08 kB / 431.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3842, allocations: 384.7 kB / 432.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3846, allocations: 0.7397 MB / 432.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.3847, allocations: 29.53 kB / 432.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.3848, allocations: 23.42 kB / 432.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3848, allocations: 0 / 432.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.007422/0.3922, allocations: 2.876 MB / 435.8 MB, free: 9.965 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches