Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 205.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.84 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 53.4 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003834/0.2736, allocations: 1.876 MB / 433.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.276, allocations: 1.168 MB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2761, allocations: 3.938 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.2766, allocations: 155.5 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.277, allocations: 163.3 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.2774, allocations: 175.4 kB / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.2777, allocations: 195.4 kB / 435.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.2777, allocations: 25.53 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2778, allocations: 79.58 kB / 435.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.278, allocations: 83.61 kB / 435.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.278, allocations: 8 kB / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2781, allocations: 63.89 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2782, allocations: 43.83 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.2782, allocations: 47.69 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.2785, allocations: 213.5 kB / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2785, allocations: 0 / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2785, allocations: 4 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.2785, allocations: 3.938 kB / 435.9 MB, free: 2.242 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.0006506/0.2792, allocations: 442.8 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2792, allocations: 19.92 kB / 436.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.2793, allocations: 20.8 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2796, allocations: 217.1 kB / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.2796, allocations: 4.312 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2796, allocations: 12.38 kB / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.2799, allocations: 149.3 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.2799, allocations: 0 / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2799, allocations: 8 kB / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-06/0.2799, allocations: 0 / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.28, allocations: 31.98 kB / 436.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.2804, allocations: 298 kB / 437.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2806, allocations: 107.9 kB / 437.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.2807, allocations: 42.56 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2807, allocations: 8 kB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.2809, allocations: 75.31 kB / 437.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2809, allocations: 0 / 437.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003296/0.2812, allocations: 145.5 kB / 437.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.2813, allocations: 115 kB / 437.6 MB, free: 396 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2816, allocations: 277 kB / 437.8 MB, free: 112 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2816, allocations: 29.7 kB / 437.9 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.2817, allocations: 120.1 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.2817, allocations: 11.91 kB / 438 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.2818, allocations: 33.66 kB / 438 MB, free: 15.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2819, allocations: 330.8 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.282, allocations: 27.92 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2821, allocations: 86.84 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2822, allocations: 84.5 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2822, allocations: 0 / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.2825, allocations: 121.5 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2825, allocations: 4 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.2825, allocations: 0 / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2825, allocations: 7.938 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.2826, allocations: 15.98 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2826, allocations: 8.125 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.2826, allocations: 7.953 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2827, allocations: 4 kB / 438.7 MB, free: 15.16 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.0001301/0.2828, allocations: 150.4 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.2829, allocations: 65.53 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2831, allocations: 111.4 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2831, allocations: 4 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2831, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2831, allocations: 4.062 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.2833, allocations: 169.2 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2833, allocations: 0 / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.2833, allocations: 11.98 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2833, allocations: 4 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2834, allocations: 3.938 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2834, allocations: 0 / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2834, allocations: 4 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2836, allocations: 166.7 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.2837, allocations: 31.84 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2837, allocations: 8 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.2838, allocations: 0 / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.2838, allocations: 11.98 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2838, allocations: 4.062 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.284, allocations: 204.5 kB / 439.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.284, allocations: 3.938 kB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.2843, allocations: 31.92 kB / 439.7 MB, free: 14.12 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.001569/0.2859, allocations: 438.8 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.286, allocations: 75.84 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2861, allocations: 4 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.2861, allocations: 19.98 kB / 440.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2865, allocations: 71.69 kB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.287, allocations: 329.6 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2871, allocations: 123.8 kB / 440.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.483e-05/0.2872, allocations: 21.47 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.2872, allocations: 19.44 kB / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2872, allocations: 0 / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Templates: time 0.00605/0.2933, allocations: 2.659 MB / 443.4 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.508562145754695]