Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.612/1.612, allocations: 230.4 MB / 251.1 MB, free: 8.504 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 71.83 kB / 368.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3692, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003358/0.3726, allocations: 1.495 MB / 423.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.3736, allocations: 0.4909 MB / 424.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.3736, allocations: 4 kB / 424.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.3737, allocations: 11.92 kB / 424.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3739, allocations: 7.875 kB / 424.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.3741, allocations: 31.95 kB / 424.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3742, allocations: 55.8 kB / 424.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3743, allocations: 7.984 kB / 424.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.3744, allocations: 19.92 kB / 424.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.3745, allocations: 27.91 kB / 424.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.3745, allocations: 4 kB / 424.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.3745, allocations: 7.938 kB / 424.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.3745, allocations: 8 kB / 424.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3746, allocations: 23.86 kB / 424.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3747, allocations: 51.23 kB / 424.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3747, allocations: 0 / 424.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3747, allocations: 0 / 424.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3747, allocations: 3.938 kB / 424.5 MB, free: 5.605 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.0007391/0.3754, allocations: 375.4 kB / 424.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.3755, allocations: 12.03 kB / 424.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3756, allocations: 4.891 kB / 424.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.376, allocations: 180.3 kB / 425.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.376, allocations: 8.375 kB / 425.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.376, allocations: 384 / 425.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.3765, allocations: 155.4 kB / 425.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3765, allocations: 0 / 425.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3765, allocations: 4 kB / 425.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3765, allocations: 0 / 425.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3766, allocations: 35.91 kB / 425.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.3768, allocations: 157.7 kB / 425.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3771, allocations: 135.7 kB / 425.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.3772, allocations: 28.84 kB / 425.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3772, allocations: 7.984 kB / 425.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3772, allocations: 38.48 kB / 425.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3772, allocations: 0 / 425.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002984/0.3775, allocations: 89.56 kB / 425.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.3776, allocations: 59.41 kB / 425.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3777, allocations: 113.8 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3777, allocations: 29.7 kB / 425.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.3778, allocations: 80.14 kB / 426 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3778, allocations: 4 kB / 426 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3778, allocations: 25.7 kB / 426 MB, free: 3.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.378, allocations: 310.8 kB / 426.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.378, allocations: 8 kB / 426.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.378, allocations: 49.14 kB / 426.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.3781, allocations: 57.03 kB / 426.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3781, allocations: 0 / 426.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001144/0.3782, allocations: 77.52 kB / 426.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3782, allocations: 11.94 kB / 426.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3783, allocations: 0 / 426.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3783, allocations: 0 / 426.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3783, allocations: 16.16 kB / 426.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3783, allocations: 8 kB / 426.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.3784, allocations: 3.938 kB / 426.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3784, allocations: 7.938 kB / 426.6 MB, free: 3.273 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.0001143/0.3785, allocations: 117.8 kB / 426.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3787, allocations: 77.56 kB / 426.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.3787, allocations: 8.375 kB / 426.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3787, allocations: 3.938 kB / 426.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3787, allocations: 0 / 426.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3787, allocations: 4 kB / 426.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3788, allocations: 161.7 kB / 426.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3788, allocations: 0 / 426.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.3789, allocations: 8.297 kB / 426.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.3789, allocations: 3.938 kB / 426.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3789, allocations: 4 kB / 426.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3789, allocations: 7.938 kB / 426.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3789, allocations: 0 / 426.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3791, allocations: 101.1 kB / 427 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.3792, allocations: 85.05 kB / 427.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3792, allocations: 0 / 427.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.3793, allocations: 15.97 kB / 427.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.3793, allocations: 0 / 427.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3793, allocations: 4 kB / 427.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.3793, allocations: 83.28 kB / 427.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 4 kB / 427.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3795, allocations: 12 kB / 427.2 MB, free: 2.484 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.0001414/0.3797, allocations: 103.2 kB / 427.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.3798, allocations: 35.92 kB / 427.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3799, allocations: 0 / 427.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3799, allocations: 3.938 kB / 427.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3802, allocations: 36.39 kB / 427.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.3806, allocations: 133.5 kB / 427.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3809, allocations: 0.6807 MB / 428.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.3809, allocations: 4 kB / 428.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.381, allocations: 15.42 kB / 428.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.381, allocations: 0 / 428.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Templates: time 0.003538/0.3845, allocations: 0.6643 MB / 428.9 MB, free: 0.7656 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches