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.001552/0.001552, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0025/0.004052, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001232/0.001232, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002773, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.118/1.118, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1158/1.234, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.853e-06/1.853e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.895e-05, allocations: 9.625 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002551/0.00258, allocations: 1.987 MB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.004372, allocations: 1.285 MB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.004513, allocations: 3.938 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.004769, allocations: 75.48 kB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.005091, allocations: 135.3 kB / 248.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.005695, allocations: 235 kB / 248.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.005949, allocations: 187.4 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.006075, allocations: 22.44 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.006269, allocations: 132.5 kB / 248.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.006385, allocations: 67.75 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.006411, allocations: 8 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.006595, allocations: 75.89 kB / 248.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.006676, allocations: 47.83 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.006728, allocations: 35.81 kB / 249 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.006999, allocations: 167.4 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.007014, allocations: 0 / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007014, allocations: 3.938 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.007027, allocations: 0 / 249.1 MB, free: 9.762 MB / 250.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.0006486/0.007676, allocations: 480.7 kB / 249.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.007719, allocations: 12.03 kB / 249.6 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.00777, allocations: 16.91 kB / 249.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.008031, allocations: 212.8 kB / 249.9 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.00805, allocations: 4.375 kB / 249.9 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.008071, allocations: 12.12 kB / 249.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.008302, allocations: 145.4 kB / 250 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.008311, allocations: 3.938 kB / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.008321, allocations: 0 / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.008326, allocations: 0 / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.008368, allocations: 26.8 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.008701, allocations: 215.4 kB / 250.3 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.008852, allocations: 137.4 kB / 250.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.008887, allocations: 30.56 kB / 250.4 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.008908, allocations: 4 kB / 250.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.009024, allocations: 70.19 kB / 250.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.009026, allocations: 4 kB / 250.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001762/0.009202, allocations: 85.53 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.009269, allocations: 110.8 kB / 250.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.009442, allocations: 254.7 kB / 250.9 MB, free: 7.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.009464, allocations: 29.7 kB / 251 MB, free: 7.738 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.009518, allocations: 104.6 kB / 251.1 MB, free: 7.633 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.00954, allocations: 15.88 kB / 251.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.009577, allocations: 29.66 kB / 251.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.009686, allocations: 343 kB / 251.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.009706, allocations: 6.828 kB / 251.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.009753, allocations: 60.19 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.009806, allocations: 39.36 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.009809, allocations: 0 / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.422e-05/0.009894, allocations: 68.44 kB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.009906, allocations: 4 kB / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009911, allocations: 0 / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.009924, allocations: 3.938 kB / 251.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.01, allocations: 20.36 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01001, allocations: 8.141 kB / 251.6 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.01005, allocations: 11.94 kB / 251.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01005, allocations: 7.984 kB / 251.7 MB, free: 6.98 MB / 250.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 7.987e-05/0.01013, allocations: 127 kB / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.01017, allocations: 45.69 kB / 251.8 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.01028, allocations: 79.38 kB / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01028, allocations: 0 / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01029, allocations: 8.062 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01029, allocations: 0 / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.0104, allocations: 113.8 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.0104, allocations: 7.938 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.01045, allocations: 15.98 kB / 252.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.01049, allocations: 31.83 kB / 252.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.0105, allocations: 4 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.0105, allocations: 0 / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01051, allocations: 0 / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01051, allocations: 4 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.01061, allocations: 116.3 kB / 252.2 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.01063, allocations: 4 kB / 252.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.01066, allocations: 0 / 252.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.01071, allocations: 11.98 kB / 252.2 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.01072, allocations: 7.984 kB / 252.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.01081, allocations: 101.6 kB / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01081, allocations: 0 / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.01095, allocations: 39.88 kB / 252.4 MB, free: 6.207 MB / 250.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.001336/0.01229, allocations: 0.5719 MB / 252.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.0124, allocations: 40.72 kB / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.01241, allocations: 4 kB / 253 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.01245, allocations: 28.83 kB / 253 MB, free: 5.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01277, allocations: 321.3 kB / 253.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.01335, allocations: 343.6 kB / 253.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.0134, allocations: 84.31 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01345, allocations: 25.47 kB / 253.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.01355, allocations: 79.36 kB / 253.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01355, allocations: 3.938 kB / 253.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of Templates: time 0.005277/0.01882, allocations: 3.218 MB / 257.1 MB, free: 1.723 MB / 250.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.809945434331894]