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.001871/0.001871, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002277/0.002277, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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 0.001535/0.001535, allocations: 43.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003507/0.2495, allocations: 1.876 MB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2518, allocations: 1.235 MB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2519, allocations: 7.938 kB / 435.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.2522, allocations: 63.66 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.2526, allocations: 135.4 kB / 435.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.2533, allocations: 238.5 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2536, allocations: 175.5 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2537, allocations: 28.62 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2538, allocations: 79.69 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2539, allocations: 87.61 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.254, allocations: 8 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2541, allocations: 75.94 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.2542, allocations: 51.78 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.2543, allocations: 59.55 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.2547, allocations: 246.7 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2547, allocations: 0 / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2547, allocations: 4 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2547, allocations: 0 / 436.7 MB, free: 2.344 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.0007939/0.2555, allocations: 478.4 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2555, allocations: 8.031 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.2556, allocations: 24.8 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.256, allocations: 229.5 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.256, allocations: 4.375 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2561, allocations: 12.12 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2564, allocations: 180.4 kB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2564, allocations: 0 / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2564, allocations: 7.922 kB / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2565, allocations: 4 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2566, allocations: 35.98 kB / 437.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.2571, allocations: 322 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.2574, allocations: 119.9 kB / 438.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2575, allocations: 42.56 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2575, allocations: 0 / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.2577, allocations: 83.31 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2577, allocations: 4 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004165/0.2581, allocations: 157.4 kB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.2582, allocations: 132.5 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.2586, allocations: 338 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2586, allocations: 33.64 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2587, allocations: 132 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2587, allocations: 23.83 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.2588, allocations: 29.72 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.259, allocations: 343 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.2591, allocations: 27.92 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2592, allocations: 133.6 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2594, allocations: 88.22 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2594, allocations: 0 / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003256/0.2597, allocations: 133.5 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2597, allocations: 7.984 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2598, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2598, allocations: 0 / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2599, allocations: 16 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2599, allocations: 3.984 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.26, allocations: 8 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.26, allocations: 4 kB / 439.8 MB, free: 14.94 MB / 350.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.0001484/0.2601, allocations: 158.5 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2602, allocations: 77.55 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.2605, allocations: 131.2 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2605, allocations: 4 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2605, allocations: 0 / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2605, allocations: 0 / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.2607, allocations: 181.1 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2607, allocations: 0 / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.2608, allocations: 12 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2608, allocations: 0 / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2608, allocations: 7.984 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2608, allocations: 8 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2608, allocations: 64 / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2611, allocations: 182.5 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.2612, allocations: 35.84 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.2613, allocations: 0 / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.2613, allocations: 15.92 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.2614, allocations: 7.984 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2614, allocations: 4 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.2617, allocations: 253.3 kB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2617, allocations: 3.938 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.262, allocations: 39.94 kB / 440.9 MB, free: 13.77 MB / 350.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.001714/0.2637, allocations: 448.5 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2639, allocations: 75.84 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2639, allocations: 0 / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.264, allocations: 35.92 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2645, allocations: 66.11 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.2652, allocations: 384.8 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.2653, allocations: 131.9 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.277e-05/0.2654, allocations: 29.62 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.2655, allocations: 27.42 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2655, allocations: 0 / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Templates: time 0.007423/0.2729, allocations: 3.117 MB / 445.2 MB, free: 9.645 MB / 350.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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.469787247988279]