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.001313/0.001313, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001358/0.001358, allocations: 209.8 kB / 24.49 MB, free: 4.133 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 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 8.262 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.001961/0.001961, allocations: 51.91 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003147/0.2955, allocations: 1.5 MB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2966, allocations: 0.4986 MB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2967, allocations: 0 / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.2967, allocations: 3.938 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.2969, allocations: 19.92 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2971, allocations: 31.91 kB / 434.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2972, allocations: 55.78 kB / 434.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2974, allocations: 8 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.2975, allocations: 27.84 kB / 434.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.2975, allocations: 23.92 kB / 434.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2975, allocations: 4 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.2976, allocations: 4 kB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2976, allocations: 11.92 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.2976, allocations: 15.94 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2978, allocations: 55.59 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2978, allocations: 4 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2978, allocations: 0 / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2978, allocations: 0 / 434.7 MB, free: 4.699 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.0006228/0.2984, allocations: 299.7 kB / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2984, allocations: 12.03 kB / 435 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.2985, allocations: 4.891 kB / 435 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.2988, allocations: 130.4 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2988, allocations: 4.375 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2988, allocations: 384 / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.2992, allocations: 155.5 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2992, allocations: 0 / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2992, allocations: 0 / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2992, allocations: 0 / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2993, allocations: 31.97 kB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.2995, allocations: 136.7 kB / 435.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.2997, allocations: 58.56 kB / 435.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.2998, allocations: 32.84 kB / 435.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2998, allocations: 0 / 435.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2998, allocations: 34.5 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.2998, allocations: 3.938 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002622/0.3001, allocations: 97.55 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.3001, allocations: 55.41 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3002, allocations: 117.8 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3003, allocations: 25.7 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.3003, allocations: 84.14 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3003, allocations: 0 / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3003, allocations: 21.72 kB / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3005, allocations: 318.8 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.3005, allocations: 4 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.3005, allocations: 53.14 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.3006, allocations: 61.03 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3006, allocations: 0 / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001134/0.3007, allocations: 73.52 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3008, allocations: 11.94 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3008, allocations: 0 / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3008, allocations: 4 kB / 436.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.3008, allocations: 7.984 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3008, allocations: 4 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3009, allocations: 4.188 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3009, allocations: 8 kB / 436.5 MB, free: 2.664 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 8.976e-05/0.301, allocations: 117.7 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3011, allocations: 77.56 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3012, allocations: 8.375 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3012, allocations: 0 / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3012, allocations: 4 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3012, allocations: 0 / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.3013, allocations: 132.7 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3013, allocations: 4 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3013, allocations: 8.297 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3013, allocations: 11.92 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3013, allocations: 0 / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3013, allocations: 4 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3013, allocations: 0 / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3015, allocations: 101 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.3015, allocations: 11.88 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3015, allocations: 4 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.3016, allocations: 19.92 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-06/0.3016, allocations: 0 / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.3016, allocations: 3.984 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.324e-05/0.3017, allocations: 87.28 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3017, allocations: 0 / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.3019, allocations: 8 kB / 437.1 MB, free: 1.992 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.0001112/0.302, allocations: 103.2 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3021, allocations: 39.91 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3021, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.3021, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3025, allocations: 35.95 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3028, allocations: 167.6 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3031, allocations: 0.6846 MB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3031, allocations: 11.44 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3031, allocations: 0 / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Templates: time 0.002332/0.3055, allocations: 0.7794 MB / 438.9 MB, free: 120 kB / 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 -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.457291703205556]