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.0007582/0.0007582, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00335/0.00335, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8296/0.8296, allocations: 173.4 MB / 201.2 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.823e-06/1.823e-06, allocations: 0 / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.266e-05, allocations: 6.219 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002239/0.002262, allocations: 1.836 MB / 321.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003517, allocations: 1.098 MB / 322.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003618, allocations: 7.938 kB / 322.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.003911, allocations: 67.55 kB / 322.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.004132, allocations: 99.52 kB / 322.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.004558, allocations: 262.8 kB / 323 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.004745, allocations: 179.4 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004848, allocations: 25.77 kB / 323.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.004953, allocations: 95.73 kB / 323.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.005046, allocations: 71.78 kB / 323.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.005067, allocations: 8 kB / 323.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.00518, allocations: 79.88 kB / 323.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.005248, allocations: 47.78 kB / 323.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.005297, allocations: 43.84 kB / 323.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.00555, allocations: 235.2 kB / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005551, allocations: 0 / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005553, allocations: 0 / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005557, allocations: 0 / 323.8 MB, free: 1.719 MB / 282.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.0005508/0.006108, allocations: 466.6 kB / 324.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.006143, allocations: 8.031 kB / 324.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.006194, allocations: 28.78 kB / 324.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.006465, allocations: 232.7 kB / 324.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006482, allocations: 8.375 kB / 324.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.006497, allocations: 8.359 kB / 324.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.006783, allocations: 176.9 kB / 324.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.006796, allocations: 3.938 kB / 324.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006809, allocations: 0 / 324.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006817, allocations: 8 kB / 324.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.006893, allocations: 35.92 kB / 324.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.007222, allocations: 318.1 kB / 325.1 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.007374, allocations: 119.8 kB / 325.2 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.007426, allocations: 46.56 kB / 325.2 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.007444, allocations: 3.938 kB / 325.2 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.007562, allocations: 79.38 kB / 325.3 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.007563, allocations: 4 kB / 325.3 MB, free: 28 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002608/0.007824, allocations: 153.4 kB / 325.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.007885, allocations: 140.5 kB / 325.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.008103, allocations: 325.9 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.008116, allocations: 25.7 kB / 326 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.00818, allocations: 128.1 kB / 326.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.0082, allocations: 15.91 kB / 326.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.008239, allocations: 29.66 kB / 326.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.008356, allocations: 327.1 kB / 326.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.128e-05/0.008418, allocations: 27.98 kB / 326.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.008518, allocations: 114.8 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.008867, allocations: 73.77 kB / 326.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008869, allocations: 4 kB / 326.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.008985, allocations: 101.5 kB / 326.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.008996, allocations: 4 kB / 326.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.009, allocations: 0 / 326.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.009012, allocations: 4 kB / 326.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.009084, allocations: 19.98 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009089, allocations: 160 / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.009126, allocations: 11.95 kB / 326.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.009132, allocations: 4 kB / 326.8 MB, free: 14.45 MB / 298.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 8.999e-05/0.009222, allocations: 153.7 kB / 327 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.009279, allocations: 65.5 kB / 327 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.009449, allocations: 131.5 kB / 327.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009452, allocations: 7.984 kB / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.009455, allocations: 4.062 kB / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009459, allocations: 0 / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.009575, allocations: 177.2 kB / 327.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.009576, allocations: 0 / 327.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.009614, allocations: 15.94 kB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009617, allocations: 0 / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.009627, allocations: 7.984 kB / 327.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.009628, allocations: 0 / 327.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009629, allocations: 0 / 327.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.009776, allocations: 174.5 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.009828, allocations: 35.84 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.009848, allocations: 11.98 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.009878, allocations: 8.062 kB / 327.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.009922, allocations: 7.984 kB / 327.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.009936, allocations: 8 kB / 327.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01008, allocations: 237.2 kB / 327.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 327.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.01025, allocations: 35.92 kB / 327.9 MB, free: 13.31 MB / 298.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.0007026/0.01095, allocations: 462.2 kB / 328.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01109, allocations: 63.91 kB / 328.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01109, allocations: 0 / 328.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01114, allocations: 31.92 kB / 328.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01138, allocations: 66.31 kB / 328.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.01181, allocations: 406.5 kB / 328.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.769e-05/0.0119, allocations: 132.2 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01194, allocations: 20.5 kB / 329 MB, free: 12.28 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01194, allocations: 0 / 329 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Templates: time 0.003273/0.01521, allocations: 2.941 MB / 332 MB, free: 9.348 MB / 298.7 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.281071849167347]