Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003058/0.2585, allocations: 1.495 MB / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2594, allocations: 498.7 kB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.2595, allocations: 4 kB / 433.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.2595, allocations: 11.86 kB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.2597, allocations: 11.92 kB / 433.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2598, allocations: 43.88 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2599, allocations: 47.86 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.26, allocations: 11.98 kB / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.2601, allocations: 23.88 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.2602, allocations: 27.89 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2602, allocations: 4 kB / 433.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.2602, allocations: 4 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2602, allocations: 11.94 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.2603, allocations: 15.92 kB / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2604, allocations: 55.59 kB / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2604, allocations: 0 / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2604, allocations: 4 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2604, allocations: 3.938 kB / 433.4 MB, free: 4.41 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.0006341/0.261, allocations: 298.8 kB / 433.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2611, allocations: 12.03 kB / 433.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.2611, allocations: 34.73 kB / 433.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.2612, allocations: 8.891 kB / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.2614, allocations: 130.4 kB / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2614, allocations: 4.375 kB / 433.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.2615, allocations: 4.375 kB / 433.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.2618, allocations: 143.3 kB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2618, allocations: 0 / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2618, allocations: 8 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2618, allocations: 0 / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.2619, allocations: 23.98 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.2622, allocations: 140.7 kB / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2624, allocations: 62.56 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.2624, allocations: 24.84 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2625, allocations: 0 / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2625, allocations: 42.5 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2625, allocations: 0 / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002725/0.2628, allocations: 89.56 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2628, allocations: 55.41 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.2629, allocations: 113.8 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.263, allocations: 29.7 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.263, allocations: 84.12 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2631, allocations: 4 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2631, allocations: 21.72 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2632, allocations: 314.8 kB / 435.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.2633, allocations: 11.98 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.2633, allocations: 49.16 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.2634, allocations: 64.95 kB / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2634, allocations: 0 / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.2635, allocations: 81.45 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2635, allocations: 8 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2635, allocations: 0 / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2635, allocations: 0 / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.2636, allocations: 8 kB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.2636, allocations: 7.984 kB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.2636, allocations: 8.125 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2636, allocations: 4 kB / 435.3 MB, free: 2.328 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.306e-05/0.2637, allocations: 117.8 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2639, allocations: 73.58 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.2639, allocations: 8.375 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2639, allocations: 3.984 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2639, allocations: 0 / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2639, allocations: 0 / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.264, allocations: 132.7 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.264, allocations: 4 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.2641, allocations: 11.92 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2641, allocations: 0 / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2641, allocations: 8.25 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2641, allocations: 4 kB / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2641, allocations: 0 / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2642, allocations: 101 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.2643, allocations: 15.92 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2643, allocations: 0 / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2643, allocations: 15.98 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.2644, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2644, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.2644, allocations: 91.27 kB / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2644, allocations: 0 / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000191/0.2646, allocations: 12 kB / 435.9 MB, free: 1.66 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.0005156/0.2651, allocations: 0.6592 MB / 436.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2653, allocations: 39.92 kB / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2653, allocations: 448 / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2653, allocations: 4 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2656, allocations: 43.45 kB / 436.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2668, allocations: 1.25 MB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2673, allocations: 0.6846 MB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.2673, allocations: 0 / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.2673, allocations: 19.42 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2673, allocations: 4 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2956, allocations: 1.806 MB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.81, allocations: 3.938 kB / 440.4 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.354279955998209]