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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.8 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 184.5 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2682, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002752/0.271, allocations: 1.493 MB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.2718, allocations: 450.9 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.2719, allocations: 7.938 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.272, allocations: 4 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.2721, allocations: 11.86 kB / 403.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2723, allocations: 31.91 kB / 403.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2725, allocations: 55.78 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2726, allocations: 11.98 kB / 403.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.2727, allocations: 19.92 kB / 403.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.2727, allocations: 23.92 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2728, allocations: 4 kB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.836e-05/0.2728, allocations: 4 kB / 403.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.2728, allocations: 15.92 kB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.2729, allocations: 27.84 kB / 403.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.273, allocations: 47.83 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2731, allocations: 0 / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2731, allocations: 0 / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2731, allocations: 3.938 kB / 403.6 MB, free: 6.676 MB / 318.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.0006569/0.2738, allocations: 376.5 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2738, allocations: 11.89 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.2738, allocations: 8.844 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2741, allocations: 188.3 kB / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2741, allocations: 384 / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2741, allocations: 4.375 kB / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2745, allocations: 155.4 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2745, allocations: 0 / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2745, allocations: 0 / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2745, allocations: 0 / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.2746, allocations: 27.98 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.2748, allocations: 165.6 kB / 404.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.275, allocations: 135.7 kB / 404.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.2751, allocations: 28.84 kB / 404.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2751, allocations: 3.938 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2752, allocations: 38.5 kB / 404.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.051e-06/0.2752, allocations: 0 / 404.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002594/0.2754, allocations: 85.67 kB / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2755, allocations: 59.39 kB / 404.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.2756, allocations: 109.8 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2756, allocations: 29.69 kB / 405 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.2756, allocations: 84.14 kB / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2757, allocations: 4 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2757, allocations: 21.72 kB / 405.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2758, allocations: 318.8 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.2758, allocations: 16.19 kB / 405.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.2759, allocations: 49.14 kB / 405.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.276, allocations: 53.09 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.276, allocations: 3.938 kB / 405.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.2761, allocations: 73.56 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2761, allocations: 7.938 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2761, allocations: 0 / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2761, allocations: 8.188 kB / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.2762, allocations: 11.94 kB / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2762, allocations: 3.984 kB / 405.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.2762, allocations: 11.91 kB / 405.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2762, allocations: 0 / 405.6 MB, free: 4.348 MB / 318.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.47e-05/0.2763, allocations: 117.8 kB / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.2765, allocations: 65.62 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2765, allocations: 12.36 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.2765, allocations: 11.94 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2765, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2766, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.012e-05/0.2766, allocations: 161.7 kB / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.2767, allocations: 3.984 kB / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.2767, allocations: 11.98 kB / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2767, allocations: 3.938 kB / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.2767, allocations: 0 / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2767, allocations: 0 / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2768, allocations: 0 / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2769, allocations: 101 kB / 406.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.277, allocations: 81.05 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.277, allocations: 8.125 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.2771, allocations: 15.98 kB / 406.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-06/0.2771, allocations: 0 / 406.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2771, allocations: 0 / 406.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.2772, allocations: 103.7 kB / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.2772, allocations: 0 / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.2774, allocations: 11.94 kB / 406.3 MB, free: 3.551 MB / 318.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.863e-05/0.2775, allocations: 103.2 kB / 406.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.2776, allocations: 39.92 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2776, allocations: 0 / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.2776, allocations: 384 / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2779, allocations: 45.69 kB / 406.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.2783, allocations: 163.2 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2785, allocations: 0.6922 MB / 407.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.2785, allocations: 11.44 kB / 407.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2785, allocations: 3.938 kB / 407.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Templates: time 0.002016/0.2806, allocations: 0.768 MB / 408.2 MB, free: 1.668 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches