Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0014/0.0014, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001513/0.001513, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 47.92 kB / 378.2 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2689, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003791/0.2727, allocations: 1.892 MB / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.275, allocations: 1.161 MB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.2751, allocations: 3.938 kB / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.2758, allocations: 155.5 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.2762, allocations: 163.4 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2768, allocations: 181.7 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.2771, allocations: 195.4 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2772, allocations: 17.75 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2773, allocations: 75.69 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2774, allocations: 83.62 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.2775, allocations: 8 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2776, allocations: 63.89 kB / 435.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.2777, allocations: 43.84 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.2778, allocations: 51.66 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.2781, allocations: 228.2 kB / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2781, allocations: 0 / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2781, allocations: 0 / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2781, allocations: 0 / 435.9 MB, free: 2.414 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.0008059/0.2789, allocations: 442.8 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.279, allocations: 15.97 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.279, allocations: 20.8 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2794, allocations: 213.1 kB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2794, allocations: 8.375 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2794, allocations: 12.12 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.2798, allocations: 133.9 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2798, allocations: 0 / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2798, allocations: 4 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2798, allocations: 0 / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2799, allocations: 39.91 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.2804, allocations: 298.1 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.2807, allocations: 115.8 kB / 437.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.2807, allocations: 46.5 kB / 437.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2808, allocations: 4 kB / 437.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.281, allocations: 67.39 kB / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.281, allocations: 0 / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004271/0.2814, allocations: 153.7 kB / 437.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.2815, allocations: 114.8 kB / 437.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.2818, allocations: 273 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2818, allocations: 29.7 kB / 437.8 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.2819, allocations: 116.1 kB / 437.9 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.282, allocations: 19.89 kB / 437.9 MB, free: 120 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.282, allocations: 25.67 kB / 438 MB, free: 88 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2822, allocations: 334.8 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.2823, allocations: 27.92 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2824, allocations: 94.78 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2825, allocations: 80.53 kB / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2825, allocations: 0 / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.2828, allocations: 121.5 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2828, allocations: 4 kB / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2828, allocations: 0 / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2828, allocations: 12.11 kB / 438.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.2829, allocations: 19.92 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2829, allocations: 4 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.283, allocations: 4 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.283, allocations: 4 kB / 438.7 MB, free: 15.34 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.0001421/0.2831, allocations: 150.5 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.2832, allocations: 69.48 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.2835, allocations: 111.4 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2835, allocations: 8.062 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2835, allocations: 0 / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2835, allocations: 0 / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.2837, allocations: 177.2 kB / 439.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2837, allocations: 0 / 439.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.2837, allocations: 7.938 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2837, allocations: 4 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2837, allocations: 3.984 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2837, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2837, allocations: 4 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.284, allocations: 162.5 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.2841, allocations: 39.83 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2841, allocations: 4 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.2842, allocations: 8 kB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.2843, allocations: 3.984 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2843, allocations: 4 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.2845, allocations: 204.5 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2845, allocations: 3.938 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.2848, allocations: 27.94 kB / 439.6 MB, free: 14.29 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.001771/0.2866, allocations: 462.2 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.2868, allocations: 71.84 kB / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2868, allocations: 0 / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.2869, allocations: 23.98 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.2873, allocations: 66.2 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.2879, allocations: 325.7 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2881, allocations: 119.8 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.2881, allocations: 17.48 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.2882, allocations: 23.42 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2882, allocations: 0 / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007018/0.2952, allocations: 2.691 MB / 443.4 MB, free: 10.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.877045155968517]