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.00113/0.00113, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001206/0.001207, allocations: 191 kB / 18.67 MB, free: 4.434 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009276/0.0009276, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2572, allocations: 49.44 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002532/0.2598, allocations: 1.465 MB / 402.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.2605, allocations: 466.8 kB / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.2606, allocations: 3.938 kB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2607, allocations: 3.938 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2608, allocations: 19.86 kB / 403.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.261, allocations: 23.97 kB / 403.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.638e-05/0.2611, allocations: 59.72 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.2612, allocations: 11.98 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.2613, allocations: 23.91 kB / 403.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.2614, allocations: 19.92 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2614, allocations: 4 kB / 403.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.2614, allocations: 4 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.2614, allocations: 7.984 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2615, allocations: 23.88 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2616, allocations: 55.8 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2616, allocations: 0 / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2616, allocations: 0 / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.2616, allocations: 0 / 403.6 MB, free: 6.711 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.0005434/0.2622, allocations: 380.4 kB / 404 MB, free: 6.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2622, allocations: 11.89 kB / 404 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.2622, allocations: 8.844 kB / 404 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.2625, allocations: 184.3 kB / 404.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2625, allocations: 4.375 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2625, allocations: 8.375 kB / 404.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2629, allocations: 147.4 kB / 404.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2629, allocations: 0 / 404.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2629, allocations: 0 / 404.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2629, allocations: 4 kB / 404.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.263, allocations: 31.92 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.2632, allocations: 161.7 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2634, allocations: 143.7 kB / 404.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.2635, allocations: 28.84 kB / 404.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2635, allocations: 3.984 kB / 404.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2635, allocations: 38.5 kB / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2635, allocations: 0 / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002477/0.2638, allocations: 85.61 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2638, allocations: 59.41 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.2639, allocations: 117.7 kB / 405 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.264, allocations: 25.7 kB / 405 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.264, allocations: 88.14 kB / 405.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.264, allocations: 7.922 kB / 405.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2641, allocations: 17.72 kB / 405.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2642, allocations: 322.8 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.2642, allocations: 4 kB / 405.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.2642, allocations: 41.16 kB / 405.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.2643, allocations: 65.02 kB / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2643, allocations: 0 / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.575e-05/0.2644, allocations: 73.56 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2644, allocations: 7.938 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2645, allocations: 4 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2645, allocations: 0 / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.2645, allocations: 8 kB / 405.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2645, allocations: 4.188 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.2646, allocations: 7.906 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2646, allocations: 4 kB / 405.6 MB, free: 4.379 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.542e-05/0.2647, allocations: 125.7 kB / 405.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2648, allocations: 65.62 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2648, allocations: 12.38 kB / 405.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2649, allocations: 0 / 405.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2649, allocations: 320 / 405.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2649, allocations: 7.984 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.265, allocations: 161.7 kB / 406 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.265, allocations: 0 / 406 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.265, allocations: 8 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.265, allocations: 3.938 kB / 406 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2651, allocations: 7.984 kB / 406 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2651, allocations: 3.938 kB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2651, allocations: 0 / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.2652, allocations: 101 kB / 406.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2653, allocations: 81.05 kB / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2653, allocations: 4 kB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.2654, allocations: 15.98 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-06/0.2654, allocations: 7.922 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2654, allocations: 0 / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.2655, allocations: 95.2 kB / 406.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2655, allocations: 4 kB / 406.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.2657, allocations: 8 kB / 406.3 MB, free: 3.578 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 0.0001145/0.2658, allocations: 99.19 kB / 406.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.2659, allocations: 39.92 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.266, allocations: 0 / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.266, allocations: 3.938 kB / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2663, allocations: 45.89 kB / 406.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.2666, allocations: 163.2 kB / 406.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2668, allocations: 0.6922 MB / 407.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.2669, allocations: 11.44 kB / 407.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2669, allocations: 0 / 407.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of Templates: time 0.00193/0.2688, allocations: 0.7758 MB / 408.2 MB, free: 1.695 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