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.00181/0.00181, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002061/0.002061, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 2.008/2.008, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001811/0.001811, allocations: 47.92 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.415, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003451/0.4184, allocations: 1.496 MB / 433.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.4195, allocations: 466.8 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.4195, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.4196, allocations: 7.922 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.4197, allocations: 11.86 kB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.4199, allocations: 31.97 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4201, allocations: 63.72 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4202, allocations: 11.8 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.4203, allocations: 19.92 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.4203, allocations: 31.89 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.4203, allocations: 4 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.4204, allocations: 4 kB / 434.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.4204, allocations: 4 kB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.4204, allocations: 23.86 kB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4205, allocations: 39.88 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4206, allocations: 7.938 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4206, allocations: 4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.4206, allocations: 0 / 434.5 MB, free: 4.531 MB / 334.1 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.0006691/0.4212, allocations: 297.1 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4213, allocations: 12.03 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4213, allocations: 4.891 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4216, allocations: 134.4 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4216, allocations: 8.312 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.4216, allocations: 384 / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.4221, allocations: 147.5 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4221, allocations: 0 / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4221, allocations: 0 / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4221, allocations: 4 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.4223, allocations: 31.92 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.4224, allocations: 109.2 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4227, allocations: 50.62 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.4228, allocations: 28.84 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4228, allocations: 0 / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4228, allocations: 34.56 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4228, allocations: 0 / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.00036/0.4232, allocations: 101.5 kB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.4233, allocations: 59.41 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4234, allocations: 105.8 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4234, allocations: 25.7 kB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.4235, allocations: 88.14 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.4235, allocations: 0 / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.4235, allocations: 17.72 kB / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4237, allocations: 322.8 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.4237, allocations: 7.984 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.4238, allocations: 49.14 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.465e-05/0.4239, allocations: 61.03 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4239, allocations: 0 / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.424, allocations: 73.52 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.424, allocations: 8 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.424, allocations: 8.375 kB / 436.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.424, allocations: 4 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.4241, allocations: 11.98 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4241, allocations: 4 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.4241, allocations: 0 / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4242, allocations: 8 kB / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001051/0.4243, allocations: 121.7 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4244, allocations: 69.64 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.4245, allocations: 16.3 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4245, allocations: 4 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4245, allocations: 4 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4245, allocations: 0 / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.683e-05/0.4246, allocations: 109.3 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4246, allocations: 0 / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.4247, allocations: 4 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4247, allocations: 7.938 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4247, allocations: 0 / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4247, allocations: 3.938 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4247, allocations: 0 / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4249, allocations: 101.1 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.4249, allocations: 7.984 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.4249, allocations: 4 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.425, allocations: 19.86 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.425, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.425, allocations: 4 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.241e-05/0.4251, allocations: 87.73 kB / 436.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4251, allocations: 0 / 436.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.4253, allocations: 12 kB / 436.9 MB, free: 1.914 MB / 334.1 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 0.000117/0.4254, allocations: 103.4 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.4256, allocations: 43.86 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4256, allocations: 0 / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.4256, allocations: 0 / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.426, allocations: 34.27 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.4263, allocations: 137.9 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.4264, allocations: 71.34 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.4264, allocations: 7.984 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.4265, allocations: 7.438 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4265, allocations: 0 / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Templates: time 0.004121/0.4306, allocations: 0.7532 MB / 438 MB, free: 0.7266 MB / 334.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/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: 6.209412825992331]