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.001327/0.001327, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00148/0.00148, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.001733/0.001733, allocations: 43.94 kB / 379 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 53.38 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003792/0.243, allocations: 1.919 MB / 434.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2454, allocations: 1.247 MB / 435.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.2456, allocations: 11.88 kB / 435.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.2463, allocations: 151.5 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.2467, allocations: 159.4 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.2473, allocations: 185.8 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.2477, allocations: 187.5 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2479, allocations: 21.73 kB / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.248, allocations: 79.62 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2482, allocations: 83.61 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2483, allocations: 8 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2484, allocations: 63.91 kB / 436.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.2485, allocations: 51.77 kB / 436.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2486, allocations: 71.55 kB / 436.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.249, allocations: 204.4 kB / 436.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.249, allocations: 0 / 436.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.249, allocations: 4 kB / 436.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.249, allocations: 3.984 kB / 436.8 MB, free: 2.496 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.0009337/0.2499, allocations: 450.7 kB / 437.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.25, allocations: 8.031 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.25, allocations: 24.8 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2504, allocations: 213.2 kB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2504, allocations: 8.359 kB / 437.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2505, allocations: 12.12 kB / 437.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2508, allocations: 150.7 kB / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2508, allocations: 0 / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2508, allocations: 4 kB / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2508, allocations: 0 / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.251, allocations: 35.92 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.2515, allocations: 341.4 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.2517, allocations: 103.9 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.2518, allocations: 38.56 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2518, allocations: 11.98 kB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.252, allocations: 79.33 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.252, allocations: 0 / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003672/0.2523, allocations: 137.5 kB / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2524, allocations: 140.8 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2528, allocations: 269.1 kB / 438.8 MB, free: 292 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2528, allocations: 25.7 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2529, allocations: 120.1 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2529, allocations: 19.84 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.253, allocations: 33.66 kB / 439 MB, free: 76 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.2532, allocations: 330.8 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.2532, allocations: 19.98 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2533, allocations: 74 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2535, allocations: 76.25 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2535, allocations: 0 / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.2537, allocations: 113.5 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2537, allocations: 8 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2538, allocations: 0 / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2538, allocations: 4 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.2538, allocations: 8 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2539, allocations: 4 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.2539, allocations: 27.92 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2539, allocations: 4 kB / 439.7 MB, free: 15.37 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.0001412/0.2541, allocations: 146.5 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.2542, allocations: 61.56 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.2544, allocations: 111.6 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2544, allocations: 4 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.2544, allocations: 4.062 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2544, allocations: 8 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2547, allocations: 204.7 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2547, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.2548, allocations: 4 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2548, allocations: 4 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2548, allocations: 4 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2548, allocations: 3.984 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.2548, allocations: 7.938 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.255, allocations: 150.6 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.2551, allocations: 35.84 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.2551, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.2552, allocations: 7.984 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2552, allocations: 8 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.2553, allocations: 11.92 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.2555, allocations: 200.5 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2555, allocations: 4 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.2557, allocations: 31.94 kB / 440.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 (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.001555/0.2573, allocations: 434.6 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2575, allocations: 63.91 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2575, allocations: 0 / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.2576, allocations: 32.17 kB / 441.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.0003878/0.258, allocations: 56.38 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.2586, allocations: 354.3 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.2591, allocations: 0.7244 MB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2591, allocations: 27.42 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2591, allocations: 0 / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.005718/0.2649, allocations: 2.658 MB / 445 MB, free: 10.07 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/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_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: 7.050443853018805]