Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002605/0.002605, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002855/0.002855, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/3.602e-05, allocations: 2.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004046/0.004082, allocations: 1.911 MB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.006955, allocations: 1.25 MB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.007106, allocations: 7.938 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.007492, allocations: 67.59 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.007932, allocations: 139.3 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.008703, allocations: 235.1 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.009015, allocations: 179.5 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.009139, allocations: 21.8 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.009326, allocations: 99.67 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.009472, allocations: 71.84 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.009503, allocations: 8 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.009697, allocations: 83.81 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.009801, allocations: 47.83 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.009885, allocations: 43.8 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.01034, allocations: 239.2 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.01035, allocations: 4 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01035, allocations: 0 / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.01035, allocations: 0 / 276.7 MB, free: 13.46 MB / 266.7 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.0009437/0.0113, allocations: 0.5902 MB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.01134, allocations: 8.031 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.01143, allocations: 24.8 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.01187, allocations: 239.6 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.01189, allocations: 4.375 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.01191, allocations: 8.375 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.01234, allocations: 193.9 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01235, allocations: 3.938 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01237, allocations: 0 / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.01237, allocations: 7.938 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01249, allocations: 31.98 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.01317, allocations: 403 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.01345, allocations: 129.3 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.01355, allocations: 51.05 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01358, allocations: 4 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.01377, allocations: 84.97 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 3.988e-06/0.01378, allocations: 3.984 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004467/0.01422, allocations: 149.6 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.01434, allocations: 140.5 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.01478, allocations: 368.3 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.01482, allocations: 29.7 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.015, allocations: 190.8 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.01503, allocations: 19.89 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.0151, allocations: 35.38 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003177/0.01542, allocations: 0.5157 MB / 279.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.01548, allocations: 19.98 kB / 279.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01561, allocations: 106.4 kB / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.01575, allocations: 63.34 kB / 280.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01575, allocations: 0 / 280.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.01598, allocations: 105.5 kB / 280.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01599, allocations: 4 kB / 280.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.016, allocations: 0 / 280.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.01602, allocations: 4 kB / 280.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01612, allocations: 11.94 kB / 280.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01612, allocations: 3.984 kB / 280.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.01619, allocations: 7.938 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.0162, allocations: 8.031 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001766/0.01638, allocations: 172.5 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.01649, allocations: 69.48 kB / 280.4 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.01678, allocations: 111.4 kB / 280.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.01679, allocations: 4 kB / 280.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01679, allocations: 3.938 kB / 280.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0168, allocations: 0 / 280.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.0171, allocations: 224.5 kB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0171, allocations: 0 / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.01717, allocations: 16.06 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01717, allocations: 3.938 kB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.01719, allocations: 12.11 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01719, allocations: 0 / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0172, allocations: 0 / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.01754, allocations: 187.5 kB / 281 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.01765, allocations: 39.77 kB / 281 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.01769, allocations: 4 kB / 281 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.01776, allocations: 4 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.01782, allocations: 11.98 kB / 281.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.01784, allocations: 4 kB / 281.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.01812, allocations: 249.1 kB / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01812, allocations: 0 / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01838, allocations: 35.98 kB / 281.3 MB, free: 8.379 MB / 266.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: 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 (10): * Single equations (assignments): 8 * 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.003013/0.02139, allocations: 458 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.02164, allocations: 63.59 kB / 281.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02164, allocations: 0 / 281.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.02176, allocations: 39.61 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.02223, allocations: 69.56 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.02302, allocations: 353.2 kB / 282.3 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.02319, allocations: 135.8 kB / 282.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.674e-05/0.02328, allocations: 29.8 kB / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.02334, allocations: 24.5 kB / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02334, allocations: 0 / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of Templates: time 0.008304/0.03165, allocations: 2.975 MB / 285.5 MB, free: 4.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.737465496058576]