Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.00119/0.00119, allocations: 88.28 kB / 21.43 MB, free: 3.125 MB / 18.57 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.003369/0.003369, allocations: 148.8 kB / 24.69 MB, free: 9.414 MB / 18.57 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 0.86/0.86, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.272e-05, allocations: 11.2 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001812/0.001835, allocations: 1.494 MB / 327.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.002466, allocations: 466.8 kB / 327.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.002526, allocations: 0 / 327.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.002554, allocations: 3.938 kB / 327.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.002698, allocations: 11.88 kB / 327.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00286, allocations: 39.83 kB / 327.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002964, allocations: 55.77 kB / 327.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.003058, allocations: 8 kB / 327.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.003137, allocations: 23.98 kB / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.003182, allocations: 23.91 kB / 327.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003209, allocations: 8 kB / 327.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.003219, allocations: 4 kB / 327.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.003242, allocations: 7.984 kB / 327.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.003272, allocations: 19.92 kB / 327.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003378, allocations: 51.8 kB / 328 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003379, allocations: 0 / 328 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00338, allocations: 0 / 328 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003384, allocations: 0 / 328 MB, free: 13.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004487/0.003833, allocations: 310.2 kB / 328.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003874, allocations: 15.98 kB / 328.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.003906, allocations: 4.891 kB / 328.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.004095, allocations: 125.7 kB / 328.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.00411, allocations: 4.375 kB / 328.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.004125, allocations: 4.375 kB / 328.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.004397, allocations: 147.7 kB / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004407, allocations: 192 / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004416, allocations: 384 / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004423, allocations: 3.938 kB / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.004487, allocations: 27.98 kB / 328.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.004591, allocations: 109.3 kB / 328.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.004726, allocations: 62.55 kB / 328.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.004772, allocations: 28.84 kB / 328.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.004794, allocations: 4 kB / 328.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.004814, allocations: 34.56 kB / 328.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.004815, allocations: 0 / 328.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001831/0.004998, allocations: 89.56 kB / 328.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.005057, allocations: 59.34 kB / 329 MB, free: 11.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.005129, allocations: 109.8 kB / 329.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.00514, allocations: 25.7 kB / 329.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.005172, allocations: 84.14 kB / 329.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.005182, allocations: 8 kB / 329.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.005204, allocations: 13.7 kB / 329.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.005289, allocations: 314.8 kB / 329.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.005299, allocations: 7.938 kB / 329.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.005307, allocations: 4 kB / 329.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.005329, allocations: 8.859 kB / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005331, allocations: 0 / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.597e-05/0.005377, allocations: 49.58 kB / 329.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.005391, allocations: 4 kB / 329.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005395, allocations: 416 / 329.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005408, allocations: 8 kB / 329.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.005442, allocations: 0 / 329.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.005448, allocations: 3.938 kB / 329.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.005462, allocations: 7.938 kB / 329.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005467, allocations: 7.922 kB / 329.6 MB, free: 11.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.608e-05/0.005523, allocations: 109.8 kB / 329.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.005591, allocations: 65.67 kB / 329.8 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.005617, allocations: 20.42 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005619, allocations: 0 / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005623, allocations: 7.938 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005626, allocations: 0 / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.172e-05/0.005678, allocations: 101.3 kB / 329.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005679, allocations: 3.938 kB / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.005704, allocations: 11.98 kB / 329.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.005706, allocations: 320 / 330 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.005714, allocations: 4 kB / 330 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005716, allocations: 4 kB / 330 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005717, allocations: 0 / 330 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.16e-05/0.005808, allocations: 101 kB / 330.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.005818, allocations: 3.953 kB / 330.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.005831, allocations: 8 kB / 330.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.005868, allocations: 15.97 kB / 330.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.00587, allocations: 0 / 330.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.005876, allocations: 8 kB / 330.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.005907, allocations: 87.2 kB / 330.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005907, allocations: 0 / 330.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001251/0.006032, allocations: 12 kB / 330.2 MB, free: 10.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 6.792e-05/0.0061, allocations: 107.1 kB / 330.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.06e-05/0.006181, allocations: 23.98 kB / 330.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006182, allocations: 0 / 330.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.006183, allocations: 4 kB / 330.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.006393, allocations: 28.02 kB / 330.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.006623, allocations: 166.4 kB / 330.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.006666, allocations: 71.95 kB / 330.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.00669, allocations: 12.5 kB / 330.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006691, allocations: 0 / 330.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Templates: time 0.00151/0.008201, allocations: 0.7432 MB / 331.3 MB, free: 9.367 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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: 3.9812592044472694]