Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009553, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002192, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006734/0.0006734, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009793/0.001653, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8949/0.8949, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1908/1.086, allocations: 52.49 MB / 238.5 MB, free: 7.648 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 3.984 kB / 239.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/2.077e-05, allocations: 3.531 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002023/0.002044, allocations: 1.566 MB / 241.3 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005781/0.002622, allocations: 457.2 kB / 241.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.002694, allocations: 0 / 241.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.002723, allocations: 9.359 kB / 241.8 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.002804, allocations: 11.92 kB / 241.8 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.002967, allocations: 39.77 kB / 241.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003095, allocations: 51.86 kB / 241.9 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003206, allocations: 8.75 kB / 241.9 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.003348, allocations: 35.95 kB / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.003401, allocations: 21.02 kB / 241.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.003436, allocations: 4 kB / 241.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.00345, allocations: 4 kB / 241.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.003487, allocations: 11.06 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.003515, allocations: 12 kB / 242 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.003652, allocations: 39.77 kB / 242 MB, free: 4.137 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.003666, allocations: 0 / 242 MB, free: 4.137 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003667, allocations: 4 kB / 242 MB, free: 4.133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.003683, allocations: 0 / 242 MB, free: 4.133 MB / 234.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.0005464/0.00423, allocations: 277.8 kB / 242.3 MB, free: 3.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.004273, allocations: 8.031 kB / 242.3 MB, free: 3.832 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.004317, allocations: 9.953 kB / 242.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.004496, allocations: 117.8 kB / 242.4 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.00452, allocations: 7.406 kB / 242.4 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.004536, allocations: 4.375 kB / 242.4 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.004777, allocations: 128.3 kB / 242.5 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.004788, allocations: 192 / 242.5 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.004802, allocations: 9.344 kB / 242.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.004811, allocations: 3.938 kB / 242.6 MB, free: 3.52 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.004842, allocations: 15.98 kB / 242.6 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.024e-05/0.004922, allocations: 53.95 kB / 242.6 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.005038, allocations: 44.34 kB / 242.7 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.00506, allocations: 16.84 kB / 242.7 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.00508, allocations: 0 / 242.7 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.005102, allocations: 34.56 kB / 242.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.005104, allocations: 3.984 kB / 242.7 MB, free: 3.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001413/0.005245, allocations: 58.28 kB / 242.8 MB, free: 3.258 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.005299, allocations: 55.41 kB / 242.8 MB, free: 3.191 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.005365, allocations: 115.4 kB / 242.9 MB, free: 3.066 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005376, allocations: 35.61 kB / 243 MB, free: 3.027 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.005401, allocations: 84.12 kB / 243.1 MB, free: 2.941 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.005416, allocations: 11.89 kB / 243.1 MB, free: 2.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.005438, allocations: 13.7 kB / 243.1 MB, free: 2.91 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.005528, allocations: 322.8 kB / 243.4 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-06/0.005533, allocations: 0 / 243.4 MB, free: 2.586 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-06/0.005539, allocations: 5.469 kB / 243.4 MB, free: 2.582 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.746e-05/0.005557, allocations: 8.797 kB / 243.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005558, allocations: 0.625 kB / 243.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.79e-05/0.005596, allocations: 38.28 kB / 243.5 MB, free: 2.527 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.005614, allocations: 4 kB / 243.5 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.005619, allocations: 4.562 kB / 243.5 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.005635, allocations: 1.656 kB / 243.5 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.403e-05/0.005669, allocations: 0 / 243.5 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.005673, allocations: 4 kB / 243.5 MB, free: 2.516 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.00569, allocations: 3.938 kB / 243.5 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.005693, allocations: 0 / 243.5 MB, free: 2.512 MB / 234.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.757e-05/0.00576, allocations: 115 kB / 243.6 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.0058, allocations: 49.62 kB / 243.6 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.005829, allocations: 9.406 kB / 243.6 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.005832, allocations: 4 kB / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.005834, allocations: 0 / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005837, allocations: 1 kB / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.986e-05/0.005887, allocations: 73.83 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005888, allocations: 320 / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.00593, allocations: 12.5 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.005945, allocations: 5.578 kB / 243.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.005949, allocations: 7.984 kB / 243.7 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.005955, allocations: 4 kB / 243.7 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005956, allocations: 0 / 243.7 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005957, allocations: 0.8438 kB / 243.7 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.037e-05/0.005997, allocations: 57.02 kB / 243.8 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.006011, allocations: 0 / 243.8 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.006043, allocations: 20.08 kB / 243.8 MB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-06/0.006047, allocations: 3.938 kB / 243.8 MB, free: 2.105 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006051, allocations: 4 kB / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.71e-05/0.006068, allocations: 16.83 kB / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006068, allocations: 0 / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of remove unused functions: time 9.263e-05/0.00616, allocations: 8 kB / 243.9 MB, free: 2.074 MB / 234.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 7.858e-05/0.006239, allocations: 76.42 kB / 243.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.006314, allocations: 24.84 kB / 244 MB, free: 1.965 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.006318, allocations: 4 kB / 244 MB, free: 1.961 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.006319, allocations: 0 / 244 MB, free: 1.961 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.006549, allocations: 89.27 kB / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.006935, allocations: 138.2 kB / 244.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.00697, allocations: 59.34 kB / 244.2 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.448e-05/0.006984, allocations: 3.906 kB / 244.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.007045, allocations: 59.45 kB / 244.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of SimCode: time 5.82e-07/0.007046, allocations: 4 kB / 244.3 MB, free: 1.559 MB / 234.7 MB Notification: Performance of Templates: time 0.002348/0.009394, allocations: 0.7099 MB / 245 MB, free: 0.8594 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.418575854972005]