Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001396/0.001396, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002242/0.002242, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 43.94 kB / 377.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 53.37 MB / 431.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002655/0.2627, allocations: 1.448 MB / 432.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.263, allocations: 111.6 kB / 432.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.2631, allocations: 3.938 kB / 432.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.2631, allocations: 7.922 kB / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.2631, allocations: 0 / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.2633, allocations: 23.91 kB / 432.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.2634, allocations: 19.94 kB / 432.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.2635, allocations: 11.98 kB / 432.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.2635, allocations: 7.938 kB / 432.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.2636, allocations: 15.92 kB / 432.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2636, allocations: 4 kB / 432.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.2636, allocations: 0 / 432.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2636, allocations: 8 kB / 432.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.2636, allocations: 15.88 kB / 432.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.074e-05/0.2637, allocations: 31.69 kB / 432.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2637, allocations: 0 / 432.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2637, allocations: 0 / 432.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.2638, allocations: 0 / 432.8 MB, free: 5.309 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003827/0.2641, allocations: 259.2 kB / 433.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2642, allocations: 8.031 kB / 433.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2642, allocations: 38.73 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.2642, allocations: 0.9375 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2644, allocations: 134.4 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2644, allocations: 384 / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2645, allocations: 4.375 kB / 433.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.2647, allocations: 91.89 kB / 433.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2647, allocations: 7.938 kB / 433.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2647, allocations: 7.984 kB / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2647, allocations: 0 / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.2648, allocations: 8 kB / 433.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2649, allocations: 132.7 kB / 433.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2651, allocations: 42.5 kB / 433.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.2651, allocations: 16.89 kB / 433.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2651, allocations: 8.031 kB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2652, allocations: 38.56 kB / 433.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2652, allocations: 0 / 433.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.2654, allocations: 65.58 kB / 433.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2654, allocations: 51.41 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.2655, allocations: 109.8 kB / 433.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2655, allocations: 25.7 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.2656, allocations: 88.12 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.2656, allocations: 11.94 kB / 434 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.2656, allocations: 13.7 kB / 434 MB, free: 3.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2657, allocations: 322.8 kB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.2658, allocations: 0 / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.2658, allocations: 23.44 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.2658, allocations: 43.36 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2658, allocations: 256 / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.324e-05/0.2659, allocations: 49.92 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2659, allocations: 11.92 kB / 434.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2659, allocations: 8 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.266, allocations: 4.125 kB / 434.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.754e-05/0.266, allocations: 8 kB / 434.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.266, allocations: 3.938 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.266, allocations: 0 / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.266, allocations: 7.984 kB / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.592e-05/0.2661, allocations: 109.8 kB / 434.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.2662, allocations: 57.58 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2662, allocations: 7.688 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2662, allocations: 4 kB / 434.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2662, allocations: 3.984 kB / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2662, allocations: 0 / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.2663, allocations: 124.8 kB / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2663, allocations: 0 / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.2663, allocations: 4 kB / 434.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2663, allocations: 3.938 kB / 434.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.2664, allocations: 3.938 kB / 434.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2664, allocations: 0 / 434.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2664, allocations: 0 / 434.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2665, allocations: 85.11 kB / 434.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.2665, allocations: 7.953 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2665, allocations: 3.938 kB / 434.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.2665, allocations: 4 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.2665, allocations: 0 / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2665, allocations: 0 / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.2666, allocations: 83.27 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2666, allocations: 0 / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.2668, allocations: 11.94 kB / 435 MB, free: 2.891 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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004257/0.2672, allocations: 0.6165 MB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.2673, allocations: 23.92 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2673, allocations: 4 kB / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2673, allocations: 4.25 kB / 435.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.2675, allocations: 19.92 kB / 435.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.2685, allocations: 1.154 MB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2688, allocations: 0.6807 MB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.208e-05/0.2688, allocations: 4 kB / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.2688, allocations: 7.438 kB / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2688, allocations: 0 / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.2946, allocations: 1.359 MB / 438.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.96, allocations: 0 / 438.8 MB, free: 14.99 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.442959112999233]