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.00125/0.00125, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001376/0.001376, allocations: 204.4 kB / 23.72 MB, free: 4.414 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2592, allocations: 53.38 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002633/0.2618, allocations: 1.487 MB / 432.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.2627, allocations: 462.8 kB / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.2627, allocations: 0 / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2627, allocations: 3.938 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2629, allocations: 15.92 kB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2631, allocations: 31.91 kB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2632, allocations: 59.78 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.2633, allocations: 11.8 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.2633, allocations: 23.91 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.2634, allocations: 23.86 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2634, allocations: 4 kB / 433.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2634, allocations: 7.938 kB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.2634, allocations: 11.98 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.2635, allocations: 19.86 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2636, allocations: 39.88 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2636, allocations: 4 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2636, allocations: 4 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2636, allocations: 0 / 433.3 MB, free: 4.441 MB / 334.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.00056/0.2642, allocations: 304 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2642, allocations: 8.031 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.2642, allocations: 34.73 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.2643, allocations: 16.88 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2645, allocations: 126.4 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2645, allocations: 384 / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2645, allocations: 8.375 kB / 433.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2648, allocations: 139.3 kB / 433.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2649, allocations: 4 kB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2649, allocations: 4 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2649, allocations: 3.938 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.265, allocations: 27.98 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.2651, allocations: 124.8 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2653, allocations: 62.55 kB / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.2654, allocations: 28.84 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2654, allocations: 0 / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2654, allocations: 38.5 kB / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.2654, allocations: 0 / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000253/0.2657, allocations: 93.56 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.2657, allocations: 55.41 kB / 434.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.2658, allocations: 113.8 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2658, allocations: 29.64 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.2659, allocations: 88.14 kB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.2659, allocations: 0 / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.2659, allocations: 21.7 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.2662, allocations: 318.8 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.2662, allocations: 7.984 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.2662, allocations: 45.47 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.2663, allocations: 61.03 kB / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2663, allocations: 0 / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.2664, allocations: 77.45 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2664, allocations: 16.17 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2665, allocations: 0 / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2665, allocations: 4 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.2665, allocations: 4 kB / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2665, allocations: 8.141 kB / 435.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.2666, allocations: 3.938 kB / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2666, allocations: 4.25 kB / 435.1 MB, free: 2.367 MB / 334.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 9.619e-05/0.2667, allocations: 121.8 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2668, allocations: 77.56 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2668, allocations: 8.375 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2668, allocations: 8 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2668, allocations: 0 / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2668, allocations: 0 / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.929e-05/0.2669, allocations: 124.8 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2669, allocations: 3.938 kB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.267, allocations: 15.92 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.267, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.267, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.267, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.267, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.2672, allocations: 109 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.2672, allocations: 3.938 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2672, allocations: 4 kB / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.2673, allocations: 11.98 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-06/0.2673, allocations: 3.984 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2673, allocations: 11.98 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.2673, allocations: 79.28 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2673, allocations: 0 / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.2675, allocations: 16 kB / 435.7 MB, free: 1.699 MB / 334.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.0005413/0.2681, allocations: 0.6592 MB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2682, allocations: 44.05 kB / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2682, allocations: 0 / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2682, allocations: 0 / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2685, allocations: 40.44 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2696, allocations: 1.247 MB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.2697, allocations: 67.3 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.2697, allocations: 7.984 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2698, allocations: 15.44 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2698, allocations: 0 / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2987, allocations: 2.205 MB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.78, allocations: 7.453 kB / 440 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] 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: 13.103910005185753]