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.001272/0.001272, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.007379/0.007379, allocations: 163.3 kB / 24.7 MB, free: 9.43 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.9243/0.9243, allocations: 177.1 MB / 205 MB, free: 5.727 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 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.743e-05, allocations: 6.219 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001961/0.001989, allocations: 1.508 MB / 327.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.002648, allocations: 462.8 kB / 327.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.002713, allocations: 0 / 327.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.002744, allocations: 3.938 kB / 327.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.002901, allocations: 19.84 kB / 327.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.003056, allocations: 31.84 kB / 327.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.003147, allocations: 51.84 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003248, allocations: 8 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.003322, allocations: 35.89 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.003359, allocations: 19.92 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.003384, allocations: 4 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.003394, allocations: 4 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.003412, allocations: 8 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.00344, allocations: 23.91 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003544, allocations: 43.88 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003546, allocations: 0 / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003547, allocations: 3.938 kB / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.003552, allocations: 3.938 kB / 328 MB, free: 13.07 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.0004476/0.003999, allocations: 317.1 kB / 328.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.004034, allocations: 8.031 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.004067, allocations: 8.891 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.004266, allocations: 125.7 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.004281, allocations: 4.375 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004292, allocations: 4.375 kB / 328.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.004574, allocations: 147.7 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.004584, allocations: 192 / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004593, allocations: 384 / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004598, allocations: 3.938 kB / 328.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.004667, allocations: 35.91 kB / 328.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.67e-05/0.004764, allocations: 101.3 kB / 328.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.004892, allocations: 58.61 kB / 328.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.004932, allocations: 28.84 kB / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.004951, allocations: 0 / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.004969, allocations: 34.56 kB / 328.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.00497, allocations: 4 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001869/0.005157, allocations: 85.56 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.005206, allocations: 59.34 kB / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.005269, allocations: 109.8 kB / 329.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.00528, allocations: 29.7 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.00531, allocations: 84.12 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.005322, allocations: 4 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.005343, allocations: 17.72 kB / 329.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.005422, allocations: 314.8 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.005431, allocations: 0 / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.005438, allocations: 8 kB / 329.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.005459, allocations: 16.78 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005461, allocations: 3.938 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.484e-05/0.005506, allocations: 41.66 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005518, allocations: 4 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005522, allocations: 0 / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005535, allocations: 4.094 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.005571, allocations: 4 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.005578, allocations: 3.938 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.005594, allocations: 4.188 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.005597, allocations: 4 kB / 329.7 MB, free: 11.25 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.833e-05/0.005656, allocations: 113.8 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.005729, allocations: 69.62 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.005753, allocations: 12.38 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.005756, allocations: 4 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.005761, allocations: 3.938 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005764, allocations: 4 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.869e-05/0.005812, allocations: 105.3 kB / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005813, allocations: 0 / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.00584, allocations: 11.98 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005842, allocations: 0 / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005848, allocations: 0 / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005849, allocations: 0 / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00585, allocations: 0 / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.563e-05/0.005945, allocations: 112.9 kB / 330.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.005955, allocations: 3.953 kB / 330.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.005969, allocations: 4 kB / 330.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.006006, allocations: 15.98 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-06/0.006009, allocations: 3.984 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006014, allocations: 4 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.006045, allocations: 87.22 kB / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006046, allocations: 0 / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.006164, allocations: 8 kB / 330.2 MB, free: 10.63 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 8.384e-05/0.006248, allocations: 103.2 kB / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.006335, allocations: 19.98 kB / 330.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.006338, allocations: 4 kB / 330.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.006338, allocations: 3.938 kB / 330.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.006565, allocations: 47.88 kB / 330.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.006792, allocations: 155.4 kB / 330.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.006834, allocations: 70 kB / 330.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.006859, allocations: 16.56 kB / 330.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006859, allocations: 0 / 330.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001594/0.008453, allocations: 0.7443 MB / 331.4 MB, free: 9.418 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.1335179172456264]