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.00138/0.00138, allocations: 85.88 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001717/0.001717, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 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.494/1.494, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.373e-06/1.373e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.628e-05, allocations: 6.359 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003486/0.003512, allocations: 1.883 MB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.006084, allocations: 1.236 MB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.006318, allocations: 2 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.006742, allocations: 72.55 kB / 328.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.007278, allocations: 135 kB / 328.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.008246, allocations: 232.9 kB / 328.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.008637, allocations: 186.4 kB / 328.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.008782, allocations: 21.91 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.00898, allocations: 98.45 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.009153, allocations: 71.67 kB / 329 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.009186, allocations: 16.34 kB / 329 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.009407, allocations: 69 kB / 329.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.009518, allocations: 55.09 kB / 329.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.009605, allocations: 42.2 kB / 329.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.01024, allocations: 241.8 kB / 329.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.01024, allocations: 1.094 kB / 329.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01025, allocations: 0 / 329.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.01026, allocations: 0 / 329.4 MB, free: 13.93 MB / 302.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.001124/0.01139, allocations: 479.1 kB / 329.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.01142, allocations: 10.16 kB / 329.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.0115, allocations: 31.98 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.01197, allocations: 225.5 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.012, allocations: 8.938 kB / 330.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.01202, allocations: 4.281 kB / 330.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.01243, allocations: 174.7 kB / 330.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.01245, allocations: 3.938 kB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.01247, allocations: 13.91 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.01248, allocations: 1.062 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.01261, allocations: 46.38 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.01321, allocations: 312.2 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.01351, allocations: 122.7 kB / 330.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01361, allocations: 43.33 kB / 330.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.01365, allocations: 2.984 kB / 330.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.01388, allocations: 88.38 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.555e-06/0.01388, allocations: 3.938 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005088/0.01439, allocations: 162 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.01451, allocations: 132.2 kB / 331.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.01506, allocations: 334.2 kB / 331.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.0151, allocations: 30.89 kB / 331.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01523, allocations: 130.5 kB / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.01526, allocations: 18.94 kB / 331.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.01534, allocations: 35.33 kB / 331.8 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01553, allocations: 328.6 kB / 332.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.01561, allocations: 23.61 kB / 332.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01576, allocations: 114.2 kB / 332.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01592, allocations: 62.7 kB / 332.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01592, allocations: 1.125 kB / 332.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.01617, allocations: 110.3 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01619, allocations: 5.969 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01619, allocations: 0 / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01621, allocations: 5.062 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01631, allocations: 14.86 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01632, allocations: 1.781 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.0164, allocations: 2.75 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.01641, allocations: 2.406 kB / 332.4 MB, free: 11.43 MB / 302.1 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.0001723/0.01658, allocations: 158.7 kB / 332.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.01669, allocations: 65.78 kB / 332.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.01701, allocations: 128.2 kB / 332.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01701, allocations: 9.781 kB / 332.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01702, allocations: 1.156 kB / 332.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01702, allocations: 1.094 kB / 332.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.01726, allocations: 181.5 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.01726, allocations: 0 / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.01734, allocations: 14.73 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01735, allocations: 1.219 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.01736, allocations: 10.75 kB / 333 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01737, allocations: 1.312 kB / 333 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01737, allocations: 1.281 kB / 333 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.01772, allocations: 174.2 kB / 333.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.01783, allocations: 49.86 kB / 333.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.01787, allocations: 1.312 kB / 333.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.01794, allocations: 7.562 kB / 333.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.01801, allocations: 15.34 kB / 333.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01803, allocations: 4.719 kB / 333.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.01834, allocations: 251.2 kB / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01834, allocations: 1.156 kB / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.01865, allocations: 37.81 kB / 333.5 MB, free: 10.62 MB / 302.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 (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.001773/0.02042, allocations: 451.8 kB / 334 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.02071, allocations: 71.78 kB / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.02071, allocations: 1.062 kB / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.02081, allocations: 24.95 kB / 334 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.02132, allocations: 69.47 kB / 334.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.02216, allocations: 381 kB / 334.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02232, allocations: 135.3 kB / 334.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.02242, allocations: 26.56 kB / 334.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.02249, allocations: 23.64 kB / 334.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02249, allocations: 0.875 kB / 334.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of Templates: time 0.008151/0.03064, allocations: 2.972 MB / 337.6 MB, free: 8.398 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] 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.547582168132067]