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.001804/0.001804, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002158/0.002158, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.642/1.642, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.001659/0.001659, allocations: 51.92 kB / 378.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2872, allocations: 53.36 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004002/0.2912, allocations: 1.925 MB / 433.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2937, allocations: 1.329 MB / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2939, allocations: 3.938 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.2942, allocations: 71.66 kB / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2946, allocations: 135.4 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.2954, allocations: 235.2 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2957, allocations: 179.5 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2958, allocations: 21.73 kB / 435.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2959, allocations: 79.69 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2961, allocations: 91.55 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2961, allocations: 8 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.2963, allocations: 71.94 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.2964, allocations: 51.83 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2965, allocations: 83.41 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.2969, allocations: 245.3 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2969, allocations: 0 / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2969, allocations: 0 / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2969, allocations: 3.938 kB / 436.1 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.0008507/0.2977, allocations: 474.5 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2978, allocations: 12.03 kB / 436.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.2978, allocations: 24.8 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2983, allocations: 241.5 kB / 436.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2984, allocations: 8.375 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2984, allocations: 8.125 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.2988, allocations: 163.5 kB / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2988, allocations: 0 / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2988, allocations: 4 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2988, allocations: 0 / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2989, allocations: 35.92 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.2995, allocations: 357.4 kB / 437.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2998, allocations: 119.9 kB / 437.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.2999, allocations: 42.56 kB / 437.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.2999, allocations: 4 kB / 437.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.3001, allocations: 83.31 kB / 437.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3001, allocations: 0 / 437.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000408/0.3005, allocations: 145.5 kB / 437.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.3006, allocations: 166.5 kB / 438 MB, free: 356 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.301, allocations: 337.8 kB / 438.3 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3011, allocations: 29.7 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3012, allocations: 128.1 kB / 438.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3012, allocations: 23.95 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.3013, allocations: 25.72 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3015, allocations: 342.8 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.3015, allocations: 23.98 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3017, allocations: 90.78 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3018, allocations: 88.22 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3018, allocations: 0 / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.3021, allocations: 121.4 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3021, allocations: 8 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3021, allocations: 3.938 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3021, allocations: 0 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3022, allocations: 23.98 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3022, allocations: 4 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.3023, allocations: 12.06 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3023, allocations: 7.984 kB / 439.2 MB, free: 15.03 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.0001658/0.3025, allocations: 162.8 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.3026, allocations: 73.5 kB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.3029, allocations: 119.3 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3029, allocations: 0 / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3029, allocations: 8 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3029, allocations: 7.938 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.3032, allocations: 212.6 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3032, allocations: 0 / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.3032, allocations: 12 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3032, allocations: 8.016 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3032, allocations: 0 / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3033, allocations: 4 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3033, allocations: 0 / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3036, allocations: 170.5 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.3036, allocations: 35.84 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.3037, allocations: 4 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.3037, allocations: 3.984 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.3038, allocations: 15.92 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3038, allocations: 7.938 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.3041, allocations: 245.2 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3041, allocations: 4 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3044, allocations: 35.92 kB / 440.3 MB, free: 13.83 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 (9): * Single equations (assignments): 7 * 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.001625/0.306, allocations: 433.9 kB / 440.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3062, allocations: 63.91 kB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3062, allocations: 0 / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.3063, allocations: 32.17 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3067, allocations: 71.44 kB / 440.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.3074, allocations: 376.8 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3078, allocations: 0.74 MB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.433e-05/0.3079, allocations: 25.47 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.308, allocations: 23.44 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.308, allocations: 0 / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Templates: time 0.007538/0.3155, allocations: 2.895 MB / 445 MB, free: 9.309 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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: 5.059778704075143]