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.001008/0.001008, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009682/0.0009682, allocations: 168.7 kB / 25.61 MB, free: 8.582 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 1.004/1.004, allocations: 177.1 MB / 206 MB, free: 4.477 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 2.014e-06/2.014e-06, allocations: 0 / 274.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.31e-05, allocations: 5.281 kB / 274.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002004/0.002027, allocations: 1.528 MB / 275.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.002696, allocations: 480.7 kB / 276.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.002767, allocations: 0.9375 kB / 276.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.002797, allocations: 3.938 kB / 276.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.002947, allocations: 17.8 kB / 276.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.003096, allocations: 35.89 kB / 276.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.003187, allocations: 51.8 kB / 276.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.003276, allocations: 11.97 kB / 276.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.00336, allocations: 31.84 kB / 276.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.003401, allocations: 19.97 kB / 276.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.003422, allocations: 4.594 kB / 276.4 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.003432, allocations: 9 kB / 276.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003454, allocations: 8 kB / 276.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.003477, allocations: 15.92 kB / 276.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003582, allocations: 41.23 kB / 276.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003585, allocations: 0 / 276.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003586, allocations: 0 / 276.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.003591, allocations: 0 / 276.4 MB, free: 2.258 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.000414/0.004005, allocations: 397.2 kB / 276.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.00404, allocations: 8.031 kB / 276.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.004073, allocations: 8.891 kB / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.004216, allocations: 132.5 kB / 277 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.004234, allocations: 384 / 277 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.004243, allocations: 8.375 kB / 277 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.004444, allocations: 134.1 kB / 277.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004452, allocations: 4.188 kB / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004458, allocations: 384 / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004464, allocations: 3.938 kB / 277.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.004491, allocations: 15.98 kB / 277.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.642e-05/0.004577, allocations: 97.27 kB / 277.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.004681, allocations: 51.03 kB / 277.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.004704, allocations: 23.67 kB / 277.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.004717, allocations: 8 kB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004741, allocations: 33.39 kB / 277.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.004742, allocations: 0 / 277.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001254/0.004867, allocations: 61.64 kB / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.004913, allocations: 63.34 kB / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.004988, allocations: 169.8 kB / 277.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004997, allocations: 25.7 kB / 277.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.005039, allocations: 138.9 kB / 277.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.005048, allocations: 0 / 277.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.00507, allocations: 23.36 kB / 277.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005189, allocations: 496.1 kB / 278.3 MB, free: 204 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-06/0.005195, allocations: 0 / 278.3 MB, free: 204 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.005204, allocations: 7.984 kB / 278.3 MB, free: 196 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.005223, allocations: 7.688 kB / 278.3 MB, free: 184 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.005226, allocations: 4 kB / 278.3 MB, free: 180 kB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.126e-05/0.005277, allocations: 41.64 kB / 278.3 MB, free: 132 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.005289, allocations: 4 kB / 278.4 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005294, allocations: 0 / 278.4 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.005302, allocations: 0 / 278.4 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.929e-05/0.005331, allocations: 4.094 kB / 278.4 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.005334, allocations: 4 kB / 278.4 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.005352, allocations: 7.891 kB / 278.4 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-06/0.005355, allocations: 0 / 278.4 MB, free: 112 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 8.99e-05/0.005445, allocations: 160.6 kB / 278.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.005496, allocations: 49.69 kB / 278.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.005524, allocations: 12.44 kB / 278.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005525, allocations: 3.938 kB / 278.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005527, allocations: 0 / 278.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005531, allocations: 3.938 kB / 278.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.117e-05/0.005592, allocations: 109.2 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005593, allocations: 4.312 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.005632, allocations: 11.94 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005633, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.005639, allocations: 4 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005639, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00564, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.891e-05/0.005689, allocations: 72.33 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.005699, allocations: 4 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.005712, allocations: 4 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.005744, allocations: 15.98 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.005748, allocations: 3.984 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005751, allocations: 0 / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.005791, allocations: 135.5 kB / 279 MB, free: 15.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005791, allocations: 0 / 279 MB, free: 15.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001064/0.005898, allocations: 4 kB / 279 MB, free: 15.45 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 8.049e-05/0.005978, allocations: 103.2 kB / 279.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.006054, allocations: 19.69 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.006055, allocations: 4.062 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.006056, allocations: 0 / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.006262, allocations: 37.84 kB / 279.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.006461, allocations: 132.2 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.006495, allocations: 67.2 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.516e-05/0.00651, allocations: 0 / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.006566, allocations: 78.2 kB / 279.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.006566, allocations: 0 / 279.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Templates: time 0.002182/0.008748, allocations: 0.7003 MB / 280.1 MB, free: 14.27 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.676480391062796]