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.001047/0.001047, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002557, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001035/0.001035, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002335, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.15, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.843e-06/1.843e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.689e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002964/0.002991, allocations: 1.591 MB / 246.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.003816, allocations: 495.3 kB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.003875, allocations: 0 / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.003903, allocations: 3.938 kB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.004001, allocations: 19.86 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.004169, allocations: 27.91 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.004279, allocations: 55.78 kB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.004371, allocations: 11.92 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004488, allocations: 43.91 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.004532, allocations: 15.92 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.00456, allocations: 4 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.004572, allocations: 4 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.004594, allocations: 8 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.004625, allocations: 11.94 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.004736, allocations: 31.89 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.004751, allocations: 4 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004753, allocations: 0 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.004769, allocations: 0 / 246.8 MB, free: 12 MB / 250.7 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.000491/0.00526, allocations: 284.4 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.005293, allocations: 8.031 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.005326, allocations: 4.938 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.005484, allocations: 121.7 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.005506, allocations: 8.375 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.005516, allocations: 4.375 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.005749, allocations: 128.4 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005757, allocations: 192 / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.005765, allocations: 384 / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005771, allocations: 3.938 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.005808, allocations: 15.98 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.656e-05/0.005884, allocations: 57.05 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.005991, allocations: 34.56 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.006019, allocations: 24.86 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.006038, allocations: 0 / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.006061, allocations: 34.5 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006062, allocations: 0 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001323/0.006194, allocations: 61.86 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.006242, allocations: 55.42 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.00631, allocations: 114.7 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006322, allocations: 29.7 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.006347, allocations: 80.14 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.006358, allocations: 4 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.006384, allocations: 17.72 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.006476, allocations: 322.8 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.006487, allocations: 12 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.006493, allocations: 0 / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.006513, allocations: 12.8 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006515, allocations: 0 / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.852e-05/0.006573, allocations: 37.69 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.00659, allocations: 6.969 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006595, allocations: 0 / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.006605, allocations: 96 / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.006645, allocations: 11.94 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.006647, allocations: 0 / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.006668, allocations: 3.938 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.00667, allocations: 4 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.47e-05/0.006735, allocations: 105.8 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.006794, allocations: 53.62 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.006826, allocations: 12.42 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.006828, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006829, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006833, allocations: 4 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.006906, allocations: 69.84 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006908, allocations: 0 / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.006967, allocations: 11.97 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.006979, allocations: 7.953 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006981, allocations: 0 / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.006988, allocations: 4 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.00699, allocations: 0 / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006991, allocations: 4 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/0.007048, allocations: 64.98 kB / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.007064, allocations: 0 / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.007109, allocations: 15.98 kB / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-06/0.007113, allocations: 0 / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.00712, allocations: 4.062 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.007143, allocations: 25.14 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007143, allocations: 0 / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007277, allocations: 4 kB / 248.7 MB, free: 9.926 MB / 250.7 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.0001015/0.007379, allocations: 76.42 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.007453, allocations: 24.8 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.007458, allocations: 4 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.007458, allocations: 0 / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.007654, allocations: 36.67 kB / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.008105, allocations: 146.3 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.008146, allocations: 59.34 kB / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.008167, allocations: 0 / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.008229, allocations: 59.31 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of SimCode: time 1.283e-06/0.00823, allocations: 0 / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of Templates: time 0.00305/0.01128, allocations: 0.7169 MB / 249.8 MB, free: 8.773 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5268672946840525]