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.002026/0.002026, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.002503/0.002503, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001575/0.001575, allocations: 51.92 kB / 374.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1015, allocations: 53.32 MB / 427.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003172/0.1047, allocations: 1.5 MB / 429 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1057, allocations: 498.7 kB / 429.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.1058, allocations: 0 / 429.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.1058, allocations: 7.922 kB / 429.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.106, allocations: 11.88 kB / 429.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1062, allocations: 35.95 kB / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1064, allocations: 55.73 kB / 429.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1065, allocations: 15.97 kB / 429.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.1066, allocations: 19.92 kB / 429.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.1066, allocations: 27.86 kB / 429.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1066, allocations: 4 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.1066, allocations: 4 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1067, allocations: 11.98 kB / 429.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1067, allocations: 23.86 kB / 429.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1068, allocations: 43.81 kB / 429.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1068, allocations: 0 / 429.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1068, allocations: 7.938 kB / 429.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1068, allocations: 3.938 kB / 429.7 MB, free: 2.102 MB / 350.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.0006922/0.1075, allocations: 375.3 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1076, allocations: 12.03 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1076, allocations: 8.891 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1079, allocations: 188.3 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1079, allocations: 384 / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.108, allocations: 4.375 kB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1084, allocations: 143.5 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1084, allocations: 8 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1084, allocations: 4 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1084, allocations: 0 / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1085, allocations: 35.91 kB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.1088, allocations: 157.7 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.109, allocations: 131.7 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.1091, allocations: 32.84 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1091, allocations: 4 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1092, allocations: 34.5 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1092, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002803/0.1095, allocations: 89.56 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.1095, allocations: 55.41 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1096, allocations: 113.8 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1097, allocations: 29.7 kB / 431.1 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1097, allocations: 88.14 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1097, allocations: 3.938 kB / 431.2 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1098, allocations: 21.7 kB / 431.2 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1099, allocations: 322.8 kB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.1099, allocations: 7.984 kB / 431.6 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1916/0.3016, allocations: 39.12 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3017, allocations: 54.66 kB / 431.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3017, allocations: 4.062 kB / 431.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.3018, allocations: 79.86 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3019, allocations: 7.906 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3019, allocations: 1.531 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3019, allocations: 3.609 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.302, allocations: 8.359 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.302, allocations: 2.688 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.302, allocations: 2.531 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.302, allocations: 11.69 kB / 431.8 MB, free: 11.12 MB / 350.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 7.929e-05/0.3021, allocations: 115.2 kB / 431.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3023, allocations: 70.55 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.3023, allocations: 11.42 kB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3023, allocations: 1.594 kB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3023, allocations: 0 / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3023, allocations: 4.172 kB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.668e-05/0.3024, allocations: 166 kB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3024, allocations: 3.719 kB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.3025, allocations: 10.38 kB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3025, allocations: 0.625 kB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3025, allocations: 3.875 kB / 432.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3025, allocations: 1.297 kB / 432.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3025, allocations: 0 / 432.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3026, allocations: 95.8 kB / 432.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.3027, allocations: 88.66 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3027, allocations: 5.609 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3028, allocations: 14.69 kB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-06/0.3028, allocations: 1.594 kB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3028, allocations: 3.016 kB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.007e-05/0.3028, allocations: 87.2 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3028, allocations: 0.9688 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3031, allocations: 15.69 kB / 432.5 MB, free: 10.54 MB / 350.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 9.409e-05/0.3032, allocations: 104.8 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3033, allocations: 38.19 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3033, allocations: 1.875 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3033, allocations: 0 / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3037, allocations: 44.45 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.304, allocations: 157.4 kB / 432.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3041, allocations: 0.6883 MB / 433.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3041, allocations: 11.08 kB / 433.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3041, allocations: 0 / 433.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Templates: time 0.002287/0.3064, allocations: 0.7733 MB / 434.3 MB, free: 9.602 MB / 350.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: 7.169922370987479]