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.001893/0.001893, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002355/0.002355, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.474/1.474, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.001903/0.001903, allocations: 59.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.262, allocations: 53.43 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003734/0.2657, allocations: 1.884 MB / 434.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.268, allocations: 1.161 MB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2681, allocations: 7.938 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.2688, allocations: 143.6 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.2692, allocations: 171.3 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.2697, allocations: 179 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.27, allocations: 183.5 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2701, allocations: 25.52 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2702, allocations: 83.58 kB / 436.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2704, allocations: 71.67 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2704, allocations: 12 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.2706, allocations: 67.89 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.2706, allocations: 43.84 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.2707, allocations: 59.59 kB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.271, allocations: 198 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2711, allocations: 4 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2711, allocations: 0 / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2711, allocations: 3.938 kB / 436.7 MB, free: 2.246 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.2719, allocations: 454.7 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2719, allocations: 11.98 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.272, allocations: 24.8 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.2723, allocations: 205.2 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2724, allocations: 12.31 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.2724, allocations: 4.375 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.2727, allocations: 146.2 kB / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2727, allocations: 0 / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2727, allocations: 4 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2727, allocations: 7.938 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2729, allocations: 31.98 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.2733, allocations: 298 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.2736, allocations: 107.9 kB / 437.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.2737, allocations: 42.56 kB / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2737, allocations: 0 / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.2738, allocations: 83.31 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2738, allocations: 4 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003871/0.2742, allocations: 141.5 kB / 438.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.2743, allocations: 110.8 kB / 438.3 MB, free: 404 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.2746, allocations: 281 kB / 438.6 MB, free: 116 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2746, allocations: 29.7 kB / 438.6 MB, free: 80 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2747, allocations: 120.2 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2748, allocations: 15.84 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.2748, allocations: 37.66 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.275, allocations: 331 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.2751, allocations: 27.98 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2752, allocations: 86.84 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.2753, allocations: 80.47 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2753, allocations: 4 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.2756, allocations: 113.6 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2756, allocations: 12 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2756, allocations: 3.984 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2756, allocations: 4 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.2757, allocations: 11.98 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2757, allocations: 4 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.2758, allocations: 15.94 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2758, allocations: 4 kB / 439.5 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.0001369/0.2759, allocations: 150.4 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.276, allocations: 61.55 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2762, allocations: 111.4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2762, allocations: 0 / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2762, allocations: 4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2763, allocations: 3.984 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2764, allocations: 165.2 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.2764, allocations: 7.984 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.2765, allocations: 4 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2765, allocations: 0 / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2765, allocations: 11.94 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2765, allocations: 4.062 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2765, allocations: 0 / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2768, allocations: 166.5 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.2768, allocations: 39.78 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2769, allocations: 4.062 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.2769, allocations: 7.984 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.277, allocations: 4 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.277, allocations: 8 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.2772, allocations: 200.5 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2772, allocations: 4 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.2775, allocations: 35.92 kB / 440.4 MB, free: 14.11 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.001701/0.2792, allocations: 430.6 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.2794, allocations: 67.84 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2794, allocations: 0 / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.2795, allocations: 31.97 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2799, allocations: 71.89 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.2805, allocations: 359.4 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2806, allocations: 119.3 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.2807, allocations: 19.44 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2807, allocations: 3.938 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005062/0.2857, allocations: 2.711 MB / 444.2 MB, free: 10.42 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 7.371907060965896]