Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.0009611/0.0009611, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009615/0.0009615, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9276/0.9276, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.345e-05, allocations: 3.281 kB / 273.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001772/0.001786, allocations: 1.58 MB / 275.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.002371, allocations: 488 kB / 275.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.002424, allocations: 0 / 275.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002447, allocations: 4.781 kB / 275.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.002574, allocations: 11.88 kB / 275.6 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.002706, allocations: 40.47 kB / 275.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.00279, allocations: 55.78 kB / 275.7 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.002859, allocations: 14.39 kB / 275.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.002932, allocations: 27.92 kB / 275.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.002966, allocations: 19.95 kB / 275.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.002982, allocations: 4 kB / 275.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002992, allocations: 4 kB / 275.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.003009, allocations: 11.94 kB / 275.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.00303, allocations: 15.98 kB / 275.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.00312, allocations: 39.83 kB / 275.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003122, allocations: 0 / 275.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003122, allocations: 0 / 275.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003126, allocations: 0 / 275.8 MB, free: 2.102 MB / 250.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.0003013/0.003427, allocations: 260.9 kB / 276.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.003457, allocations: 16.03 kB / 276.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.003485, allocations: 16.92 kB / 276.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.003609, allocations: 129.6 kB / 276.2 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.003624, allocations: 4.375 kB / 276.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.003632, allocations: 384 / 276.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.0038, allocations: 128.4 kB / 276.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003806, allocations: 192 / 276.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.003813, allocations: 4.375 kB / 276.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003818, allocations: 3.938 kB / 276.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.003842, allocations: 11.98 kB / 276.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.984e-05/0.003902, allocations: 65.05 kB / 276.4 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.00399, allocations: 38.5 kB / 276.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.004012, allocations: 20.83 kB / 276.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.004026, allocations: 4 kB / 276.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.004045, allocations: 34.56 kB / 276.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.004046, allocations: 0 / 276.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 9.455e-05/0.00414, allocations: 61.56 kB / 276.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.004179, allocations: 59.41 kB / 276.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.004236, allocations: 114.6 kB / 276.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.004466, allocations: 25.7 kB / 276.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.004488, allocations: 84.14 kB / 276.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.004499, allocations: 0 / 276.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.004518, allocations: 17.7 kB / 276.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.004592, allocations: 318.8 kB / 277.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.004597, allocations: 4 kB / 277.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.004602, allocations: 0 / 277.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.004623, allocations: 16.92 kB / 277.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004624, allocations: 0 / 277.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.909e-05/0.004663, allocations: 41.62 kB / 277.2 MB, free: 500 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.004673, allocations: 4 kB / 277.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004677, allocations: 0 / 277.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004686, allocations: 0 / 277.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.208e-05/0.004718, allocations: 4 kB / 277.3 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.004722, allocations: 0 / 277.3 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.004737, allocations: 3.938 kB / 277.3 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-06/0.00474, allocations: 0 / 277.3 MB, free: 488 kB / 250.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.773e-05/0.004797, allocations: 113.9 kB / 277.4 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.004837, allocations: 53.67 kB / 277.4 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.004866, allocations: 8.438 kB / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004868, allocations: 320 / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.00487, allocations: 0 / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.004873, allocations: 0 / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.823e-05/0.004921, allocations: 81.75 kB / 277.5 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.004922, allocations: 0 / 277.5 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.004949, allocations: 8 kB / 277.5 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004951, allocations: 0 / 277.5 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.004955, allocations: 0 / 277.5 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.004956, allocations: 4 kB / 277.5 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004957, allocations: 4 kB / 277.5 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.819e-05/0.004995, allocations: 57.06 kB / 277.6 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.005005, allocations: 11.88 kB / 277.6 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.005018, allocations: 11.94 kB / 277.6 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.005046, allocations: 11.98 kB / 277.6 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-06/0.005048, allocations: 0 / 277.6 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00505, allocations: 0 / 277.6 MB, free: 64 kB / 250.7 MB Notification: Performance of sorting global known variables: time 1.309e-05/0.005064, allocations: 12.84 kB / 277.6 MB, free: 48 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005064, allocations: 4 kB / 277.6 MB, free: 44 kB / 250.7 MB Notification: Performance of remove unused functions: time 8.968e-05/0.005153, allocations: 11.94 kB / 277.6 MB, free: 32 kB / 250.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.631e-05/0.00522, allocations: 80.5 kB / 277.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.261e-05/0.005272, allocations: 16.86 kB / 277.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005274, allocations: 0 / 277.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.005275, allocations: 0 / 277.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.005412, allocations: 33.86 kB / 277.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.005582, allocations: 134.5 kB / 277.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.00561, allocations: 59.22 kB / 278 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.244e-05/0.005622, allocations: 7.984 kB / 278 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.005664, allocations: 55.38 kB / 278 MB, free: 15.59 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005664, allocations: 0 / 278 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Templates: time 0.001902/0.007566, allocations: 0.6881 MB / 278.7 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.498614629264921]