Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 43.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3361, allocations: 52.2 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00411/0.3402, allocations: 1.905 MB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3425, allocations: 1.177 MB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3426, allocations: 3.938 kB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.343, allocations: 67.66 kB / 426.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.3433, allocations: 99.52 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.3442, allocations: 262.1 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3445, allocations: 171.5 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3447, allocations: 21.75 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3449, allocations: 83.62 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3451, allocations: 79.67 kB / 427 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.3451, allocations: 8 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.3453, allocations: 71.88 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3455, allocations: 51.83 kB / 427.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.3456, allocations: 79.48 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.3462, allocations: 236.3 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3462, allocations: 0 / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3462, allocations: 0 / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3462, allocations: 0 / 427.4 MB, free: 10.38 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.001072/0.3473, allocations: 478.4 kB / 427.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.3473, allocations: 12.03 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.3474, allocations: 24.8 kB / 427.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.348, allocations: 225.5 kB / 428.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.348, allocations: 8.375 kB / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3481, allocations: 8.125 kB / 428.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.3485, allocations: 159.5 kB / 428.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3485, allocations: 0 / 428.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3486, allocations: 4 kB / 428.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3486, allocations: 0 / 428.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.3487, allocations: 35.92 kB / 428.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.3493, allocations: 361.4 kB / 428.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.3496, allocations: 111.9 kB / 428.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3497, allocations: 46.56 kB / 428.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3498, allocations: 8 kB / 428.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.35, allocations: 83.31 kB / 428.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.35, allocations: 3.938 kB / 428.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000486/0.3504, allocations: 145.5 kB / 429.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.3506, allocations: 170.4 kB / 429.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.351, allocations: 325.9 kB / 429.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.3511, allocations: 25.7 kB / 429.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3512, allocations: 128.1 kB / 429.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3512, allocations: 11.91 kB / 429.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.3513, allocations: 33.66 kB / 429.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3514, allocations: 338.8 kB / 430.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.3515, allocations: 23.98 kB / 430.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3516, allocations: 82.86 kB / 430.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3518, allocations: 84.22 kB / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3518, allocations: 7.938 kB / 430.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002564/0.3521, allocations: 125.4 kB / 430.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3521, allocations: 10.5 kB / 430.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3521, allocations: 0 / 430.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3521, allocations: 0 / 430.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3522, allocations: 19.98 kB / 430.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3523, allocations: 4.062 kB / 430.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.3523, allocations: 19.83 kB / 430.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.3524, allocations: 4.047 kB / 430.5 MB, free: 7.012 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.0001824/0.3525, allocations: 157.8 kB / 430.6 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3526, allocations: 65.81 kB / 430.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.3529, allocations: 119.4 kB / 430.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3529, allocations: 4 kB / 430.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3529, allocations: 8 kB / 430.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.353, allocations: 3.938 kB / 430.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3532, allocations: 208.7 kB / 431 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3532, allocations: 4 kB / 431 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.3533, allocations: 15.92 kB / 431 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3533, allocations: 0 / 431 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3533, allocations: 8 kB / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3533, allocations: 0 / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3533, allocations: 0 / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3536, allocations: 170.5 kB / 431.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.3537, allocations: 31.84 kB / 431.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3538, allocations: 11.98 kB / 431.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.3538, allocations: 0 / 431.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.3539, allocations: 11.98 kB / 431.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3539, allocations: 7.938 kB / 431.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.3542, allocations: 241.2 kB / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3542, allocations: 0 / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3545, allocations: 39.92 kB / 431.6 MB, free: 5.832 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.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.001827/0.3563, allocations: 426.9 kB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3566, allocations: 67.84 kB / 432 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3566, allocations: 0 / 432 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.3567, allocations: 32.23 kB / 432.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3572, allocations: 56.44 kB / 432.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.3579, allocations: 372.7 kB / 432.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3583, allocations: 0.74 MB / 433.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.255e-05/0.3584, allocations: 25.47 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.3584, allocations: 27.42 kB / 433.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3584, allocations: 0 / 433.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Templates: time 0.007907/0.3664, allocations: 2.869 MB / 436.2 MB, free: 1.355 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.935610159300268]