Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008042/0.0008042, allocations: 76.06 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9413/0.9413, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.829e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003361/0.003389, allocations: 1.422 MB / 319.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003926/0.003782, allocations: 103.6 kB / 320 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.00386, allocations: 0 / 320 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.003902, allocations: 7.922 kB / 320 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.003951, allocations: 0 / 320 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.004282, allocations: 27.86 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004392, allocations: 23.92 kB / 320 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.004532, allocations: 11.98 kB / 320 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.004595, allocations: 15.94 kB / 320 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.004634, allocations: 7.984 kB / 320 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.004665, allocations: 0 / 320 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.004676, allocations: 4 kB / 320.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.0047, allocations: 11.92 kB / 320.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.004729, allocations: 4 kB / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.004841, allocations: 31.89 kB / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004843, allocations: 0 / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.004845, allocations: 0 / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00485, allocations: 0 / 320.1 MB, free: 4.68 MB / 282.7 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.0004041/0.005254, allocations: 261.6 kB / 320.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.005305, allocations: 12.92 kB / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.005351, allocations: 46.69 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.005381, allocations: 0.9375 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.005608, allocations: 129.6 kB / 320.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.00563, allocations: 4.312 kB / 320.5 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005642, allocations: 4.375 kB / 320.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.005934, allocations: 107.9 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005943, allocations: 192 / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.005952, allocations: 384 / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.005959, allocations: 4.125 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.068e-05/0.006019, allocations: 11.98 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.006163, allocations: 128.8 kB / 320.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.006293, allocations: 46.5 kB / 320.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.006347, allocations: 20.89 kB / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.006375, allocations: 4.031 kB / 320.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.006405, allocations: 30.56 kB / 320.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.006407, allocations: 4 kB / 320.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002324/0.006639, allocations: 57.88 kB / 321 MB, free: 3.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.006703, allocations: 67.33 kB / 321 MB, free: 3.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.006794, allocations: 109.7 kB / 321.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.00681, allocations: 29.7 kB / 321.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.00685, allocations: 80.14 kB / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.006853, allocations: 0 / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.006882, allocations: 13.72 kB / 321.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.006992, allocations: 318.8 kB / 321.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.006998, allocations: 0 / 321.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.007003, allocations: 4 kB / 321.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.00703, allocations: 75.28 kB / 321.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.007056, allocations: 75.28 kB / 321.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.947e-05/0.007115, allocations: 29.7 kB / 321.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.007166, allocations: 79.28 kB / 321.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.007198, allocations: 83.22 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.079e-05/0.007259, allocations: 150.6 kB / 322 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.652e-05/0.007285, allocations: 79.22 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.594e-05/0.007331, allocations: 162.5 kB / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.007399, allocations: 79.28 kB / 322.4 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.007422, allocations: 87.16 kB / 322.4 MB, free: 2.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.092e-05/0.007513, allocations: 185.1 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.007609, allocations: 53.69 kB / 322.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.007639, allocations: 3.688 kB / 322.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007642, allocations: 0 / 322.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.007649, allocations: 3.938 kB / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007652, allocations: 256 / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.007734, allocations: 124.8 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.00774, allocations: 4 kB / 322.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.007811, allocations: 4 kB / 322.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.007818, allocations: 7.938 kB / 322.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.007831, allocations: 3.984 kB / 322.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.007836, allocations: 0 / 322.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.007839, allocations: 7.875 kB / 322.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.007978, allocations: 81.08 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.007992, allocations: 0 / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.008009, allocations: 4 kB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.008028, allocations: 0 / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.008036, allocations: 7.922 kB / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008043, allocations: 0 / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.008103, allocations: 83.28 kB / 323 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008103, allocations: 4 kB / 323 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.008356, allocations: 4 kB / 323 MB, free: 1.477 MB / 282.7 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.0004093/0.008765, allocations: 0.6163 MB / 323.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.008852, allocations: 12 kB / 323.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008855, allocations: 0 / 323.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.008856, allocations: 0 / 323.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.009141, allocations: 19.92 kB / 323.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.01031, allocations: 1.368 MB / 325 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.01037, allocations: 67.34 kB / 325.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.01039, allocations: 0 / 325.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.01044, allocations: 12.5 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.734e-06/0.01044, allocations: 0 / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.0301, allocations: 1.81 MB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.775, allocations: 22.23 kB / 326.9 MB, free: 13.54 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv: Error: Error opening file: Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.629455678164959]