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.001314/0.001314, 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.001517/0.001517, allocations: 170.3 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.9814/0.9814, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.843e-06/1.843e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.712e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002192/0.002219, allocations: 1.544 MB / 275 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.003051, allocations: 486.6 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.003137, allocations: 0 / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.003172, allocations: 3.938 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.003377, allocations: 19.86 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.003551, allocations: 35.84 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.003652, allocations: 55.78 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.003744, allocations: 7.984 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.003825, allocations: 35.91 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.00386, allocations: 11.98 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003882, allocations: 4 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.003892, allocations: 4 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.003913, allocations: 19.91 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.003934, allocations: 12 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.004019, allocations: 35.83 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.004021, allocations: 4 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004022, allocations: 0 / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004025, allocations: 0 / 275.7 MB, free: 14.9 MB / 266.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.0003128/0.004337, allocations: 272.8 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.004367, allocations: 11.97 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.004388, allocations: 4.938 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.004507, allocations: 125.7 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004519, allocations: 4.375 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004529, allocations: 4.375 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.004842, allocations: 124.5 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004849, allocations: 4.188 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.004855, allocations: 384 / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004859, allocations: 7.938 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.00488, allocations: 15.94 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.343e-05/0.004933, allocations: 64.98 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.005023, allocations: 42.5 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.005043, allocations: 16.86 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.005053, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.00507, allocations: 30.56 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 5.81e-07/0.005071, allocations: 4 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.301e-05/0.005164, allocations: 61.61 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.005203, allocations: 51.41 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.005255, allocations: 122.7 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.005264, allocations: 29.7 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.005284, allocations: 88.11 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.724e-06/0.005291, allocations: 0 / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.00531, allocations: 13.72 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.005385, allocations: 322.8 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.005388, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.005393, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.639e-05/0.00541, allocations: 12.84 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005411, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.765e-05/0.005439, allocations: 41.7 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.00545, allocations: 4 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005454, allocations: 0 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.005461, allocations: 4 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.005479, allocations: 3.984 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-06/0.005481, allocations: 0 / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.005493, allocations: 7.938 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-06/0.005495, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.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.761e-05/0.005553, allocations: 113.8 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.005592, allocations: 49.62 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.005611, allocations: 12.47 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.005612, allocations: 0 / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005614, allocations: 4 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005616, allocations: 0 / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.005664, allocations: 74.14 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005665, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.005689, allocations: 8 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005691, allocations: 3.984 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.005696, allocations: 7.938 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005697, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005697, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.072e-05/0.005728, allocations: 57.08 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.005736, allocations: 7.953 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005747, allocations: 3.984 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.005774, allocations: 15.94 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-06/0.005777, allocations: 0 / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.00578, allocations: 3.984 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.399e-05/0.005794, allocations: 16.84 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005795, allocations: 0 / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001003/0.005895, allocations: 4 kB / 277.5 MB, free: 12.84 MB / 266.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 7.99e-05/0.005975, allocations: 80.42 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.894e-05/0.006054, allocations: 24.84 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.006056, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.006057, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006221, allocations: 33.86 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.006447, allocations: 122.5 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.006489, allocations: 63.34 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.252e-05/0.006502, allocations: 4.062 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.006553, allocations: 51.38 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006553, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002181/0.008734, allocations: 0.7032 MB / 278.6 MB, free: 11.73 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 -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.788793885614723]