Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001803/0.001803, 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.002389/0.002389, allocations: 215.6 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 47.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003532/0.2623, allocations: 1.884 MB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2648, allocations: 1.2 MB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2649, allocations: 7.938 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.2652, allocations: 67.67 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.2657, allocations: 135.4 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.2664, allocations: 219.4 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2667, allocations: 179.5 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2668, allocations: 28.69 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.267, allocations: 83.58 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2671, allocations: 79.66 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2671, allocations: 8 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2673, allocations: 71.95 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2674, allocations: 59.75 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.2675, allocations: 55.55 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.2679, allocations: 238.8 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2679, allocations: 0 / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2679, allocations: 0 / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.268, allocations: 0 / 436.6 MB, free: 2.426 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.0008523/0.2688, allocations: 486.4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2688, allocations: 12.03 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.2689, allocations: 28.73 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.2694, allocations: 225.5 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2694, allocations: 8.359 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2694, allocations: 12.12 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.2698, allocations: 183.4 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2699, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2699, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.2699, allocations: 4 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.27, allocations: 31.98 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.2705, allocations: 326 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.2708, allocations: 115.9 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2709, allocations: 50.56 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.271, allocations: 4 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.2711, allocations: 79.31 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2711, allocations: 0 / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004219/0.2716, allocations: 161.4 kB / 438.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.2717, allocations: 128.5 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.2721, allocations: 345.8 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2721, allocations: 25.95 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2723, allocations: 140 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.2723, allocations: 19.83 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.2723, allocations: 33.7 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.2725, allocations: 334.8 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.2726, allocations: 27.92 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2728, allocations: 137.3 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2729, allocations: 80.22 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.273, allocations: 4.031 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002547/0.2732, allocations: 133.4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2732, allocations: 8 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2732, allocations: 0 / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2732, allocations: 3.984 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2734, allocations: 19.98 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2734, allocations: 4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.24e-05/0.2735, allocations: 4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2735, allocations: 4.125 kB / 439.7 MB, free: 15.02 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,subSample1.y,subSample1.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.0001555/0.2736, allocations: 166.8 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2737, allocations: 69.45 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.274, allocations: 127.4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.274, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.274, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2741, allocations: 4 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2743, allocations: 189.2 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2743, allocations: 4.062 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.2743, allocations: 11.98 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2743, allocations: 4 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2743, allocations: 0 / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.2744, allocations: 7.938 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2744, allocations: 0 / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.2747, allocations: 174.5 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.2748, allocations: 35.84 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.2748, allocations: 7.984 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.2749, allocations: 4 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.2749, allocations: 15.98 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2749, allocations: 7.938 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.2752, allocations: 249.2 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2752, allocations: 96 / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2755, allocations: 39.88 kB / 440.8 MB, free: 13.84 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,subSample1.y,sample1.y,subSample1.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.001708/0.2772, allocations: 444.6 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.2775, allocations: 83.97 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2775, allocations: 4.062 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.2775, allocations: 27.98 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.278, allocations: 59.66 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.2787, allocations: 414.5 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2789, allocations: 132.1 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2789, allocations: 23.44 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2789, allocations: 0 / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Templates: time 0.006083/0.285, allocations: 3.028 MB / 445 MB, free: 9.773 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.679010213818401]