Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 213.5 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.88 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003242/0.3485, allocations: 1.504 MB / 431.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3496, allocations: 494.8 kB / 431.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.3497, allocations: 7.875 kB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.3497, allocations: 7.984 kB / 431.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3499, allocations: 11.88 kB / 431.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.3502, allocations: 39.89 kB / 431.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3503, allocations: 47.86 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3505, allocations: 15.97 kB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.3505, allocations: 15.94 kB / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3506, allocations: 23.91 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3506, allocations: 4 kB / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.3507, allocations: 4 kB / 432 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.3507, allocations: 11.88 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.3507, allocations: 23.91 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3509, allocations: 51.61 kB / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3509, allocations: 3.938 kB / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3509, allocations: 0 / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3509, allocations: 4 kB / 432 MB, free: 5.273 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.0008298/0.3517, allocations: 380.8 kB / 432.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.3518, allocations: 8.031 kB / 432.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3518, allocations: 8.891 kB / 432.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3522, allocations: 180.3 kB / 432.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3522, allocations: 8.375 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3522, allocations: 8.359 kB / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.3527, allocations: 147.5 kB / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3527, allocations: 0 / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3527, allocations: 0 / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3527, allocations: 0 / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3528, allocations: 31.97 kB / 432.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.3531, allocations: 161.7 kB / 433 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3533, allocations: 135.7 kB / 433.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.3534, allocations: 28.84 kB / 433.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3534, allocations: 3.938 kB / 433.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.3535, allocations: 42.48 kB / 433.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3535, allocations: 0 / 433.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003369/0.3538, allocations: 89.62 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/0.3539, allocations: 59.41 kB / 433.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3541, allocations: 109.8 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3541, allocations: 25.7 kB / 433.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.3542, allocations: 84.14 kB / 433.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3542, allocations: 4 kB / 433.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.3542, allocations: 25.7 kB / 433.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3544, allocations: 310.8 kB / 433.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.3544, allocations: 11.94 kB / 433.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.3545, allocations: 53.08 kB / 433.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.3546, allocations: 57.09 kB / 434 MB, free: 3.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3546, allocations: 0 / 434 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001138/0.3547, allocations: 73.52 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3547, allocations: 11.94 kB / 434.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3547, allocations: 0 / 434.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3548, allocations: 4 kB / 434.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.3548, allocations: 12.11 kB / 434.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3548, allocations: 8.469 kB / 434.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.3549, allocations: 4 kB / 434.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3549, allocations: 4 kB / 434.1 MB, free: 2.949 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.0001402/0.355, allocations: 117.8 kB / 434.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3552, allocations: 73.56 kB / 434.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3552, allocations: 8.375 kB / 434.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3552, allocations: 0 / 434.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.3552, allocations: 7.938 kB / 434.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3552, allocations: 4 kB / 434.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3553, allocations: 161.7 kB / 434.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3553, allocations: 0 / 434.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.3554, allocations: 7.984 kB / 434.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.3554, allocations: 7.938 kB / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3554, allocations: 4.25 kB / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3554, allocations: 0 / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3554, allocations: 4 kB / 434.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3556, allocations: 97.06 kB / 434.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3556, allocations: 85.05 kB / 434.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3556, allocations: 4 kB / 434.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.3557, allocations: 19.97 kB / 434.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.3557, allocations: 0 / 434.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3557, allocations: 0 / 434.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.3558, allocations: 95.2 kB / 434.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3558, allocations: 4 kB / 434.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.356, allocations: 8 kB / 434.8 MB, free: 2.152 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.0001643/0.3562, allocations: 103.2 kB / 434.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3563, allocations: 35.92 kB / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3563, allocations: 0 / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.3563, allocations: 0 / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3567, allocations: 40.38 kB / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.357, allocations: 145.4 kB / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3573, allocations: 0.6884 MB / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.3574, allocations: 0 / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.3574, allocations: 15.42 kB / 435.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3574, allocations: 0 / 435.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of Templates: time 0.003477/0.3609, allocations: 0.6621 MB / 436.5 MB, free: 420 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.970296245999634]