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.001423/0.001423, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001621/0.001621, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001601/0.001601, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2384, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00344/0.2419, allocations: 1.872 MB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2441, allocations: 1.235 MB / 435.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2443, allocations: 7.938 kB / 435.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.2445, allocations: 63.67 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.2449, allocations: 135.4 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.2456, allocations: 234.5 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.2458, allocations: 179.5 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.246, allocations: 24.69 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2461, allocations: 83.62 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2462, allocations: 79.61 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.2462, allocations: 12 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.2464, allocations: 67.95 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2465, allocations: 55.83 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.2466, allocations: 59.55 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.247, allocations: 242.7 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.247, allocations: 0 / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.247, allocations: 0 / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.247, allocations: 0 / 436.7 MB, free: 2.352 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.0008938/0.2479, allocations: 482.5 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.248, allocations: 8.031 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.248, allocations: 28.73 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2485, allocations: 229.5 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2485, allocations: 8.375 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2485, allocations: 8.125 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.2489, allocations: 176.4 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2489, allocations: 0 / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2489, allocations: 8 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2489, allocations: 0 / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.249, allocations: 47.91 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.2495, allocations: 322 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.2498, allocations: 115.9 kB / 438.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.2499, allocations: 42.56 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2499, allocations: 4 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.2501, allocations: 83.38 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2501, allocations: 3.938 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003942/0.2505, allocations: 157.4 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.2505, allocations: 136.5 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.2509, allocations: 334 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2509, allocations: 25.7 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.251, allocations: 136.1 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2511, allocations: 19.84 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.2511, allocations: 25.7 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2513, allocations: 346.8 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.2514, allocations: 32.11 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2515, allocations: 137.3 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2517, allocations: 84.2 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2517, allocations: 4 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002336/0.2519, allocations: 121.5 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2519, allocations: 12.16 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2519, allocations: 3.938 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2519, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.252, allocations: 15.98 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.252, allocations: 4 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.2521, allocations: 7.984 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2521, 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.0001465/0.2523, allocations: 162.5 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.2524, allocations: 69.5 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.2526, allocations: 135.6 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2527, allocations: 0 / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2527, allocations: 4 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2527, allocations: 7.984 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.2529, allocations: 177.1 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2529, allocations: 0 / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.2529, allocations: 15.98 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2529, allocations: 0 / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2529, allocations: 4 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2529, allocations: 0 / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2529, allocations: 4 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.2532, allocations: 178.5 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.2533, allocations: 35.84 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2534, allocations: 4 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.2534, allocations: 7.984 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2535, allocations: 8 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2535, allocations: 7.984 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2537, allocations: 253.1 kB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2537, allocations: 0 / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.254, allocations: 35.92 kB / 440.9 MB, free: 13.78 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.001673/0.2557, allocations: 465.8 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.2559, allocations: 75.84 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2559, allocations: 0 / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.256, allocations: 31.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.0004013/0.2564, allocations: 58.97 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.000699/0.2571, allocations: 419 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2573, allocations: 127.9 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.2573, allocations: 23.42 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2573, allocations: 0 / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.005307/0.2626, allocations: 3.016 MB / 445 MB, free: 9.711 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 -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: 7.420329018961638]