Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001268/0.001268, 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.001446/0.001446, 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 377.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 53.37 MB / 431.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00266/0.2501, allocations: 1.491 MB / 432.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.2503, allocations: 91.69 kB / 432.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.2504, allocations: 4 kB / 432.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.2504, allocations: 3.938 kB / 432.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.2505, allocations: 3.938 kB / 432.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.2507, allocations: 27.91 kB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.2508, allocations: 27.86 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2509, allocations: 15.92 kB / 432.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.251, allocations: 7.984 kB / 432.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.251, allocations: 11.94 kB / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.251, allocations: 0 / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.251, allocations: 4 kB / 432.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.2511, allocations: 11.92 kB / 432.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.2511, allocations: 11.94 kB / 432.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.043e-05/0.2512, allocations: 27.28 kB / 432.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2512, allocations: 4 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2512, allocations: 0 / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2512, allocations: 0 / 432.9 MB, free: 5.098 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.000413/0.2516, allocations: 259.3 kB / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2517, allocations: 12.03 kB / 433.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2517, allocations: 38.73 kB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.2517, allocations: 8.891 kB / 433.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2519, allocations: 122.5 kB / 433.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.2519, allocations: 12.31 kB / 433.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2519, allocations: 4.312 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.2522, allocations: 103.9 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2522, allocations: 3.938 kB / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.2523, allocations: 0 / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2523, allocations: 0 / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.2523, allocations: 19.98 kB / 433.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2525, allocations: 136.7 kB / 433.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2526, allocations: 42.56 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.2527, allocations: 24.92 kB / 433.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2527, allocations: 3.938 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2527, allocations: 38.56 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2527, allocations: 0 / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.253, allocations: 73.61 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.253, allocations: 55.39 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.2531, allocations: 106 kB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2531, allocations: 25.7 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.2532, allocations: 88.12 kB / 434 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.2532, allocations: 4 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.2532, allocations: 13.72 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2533, allocations: 314.8 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.2534, allocations: 7.938 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.2534, allocations: 35.48 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.2534, allocations: 35.38 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2534, allocations: 0 / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.334e-05/0.2535, allocations: 57.62 kB / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2535, allocations: 11.88 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2535, allocations: 0 / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2536, allocations: 4 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.2536, allocations: 8.125 kB / 434.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2536, allocations: 4 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.2536, allocations: 3.953 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.2536, allocations: 0 / 434.5 MB, free: 3.23 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: 0 () * 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 8.508e-05/0.2537, allocations: 117.8 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2538, allocations: 61.91 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2539, allocations: 4 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2539, allocations: 7.969 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2539, allocations: 4 kB / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2539, allocations: 0 / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.254, allocations: 128.7 kB / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.254, allocations: 0 / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.254, allocations: 12 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.254, allocations: 3.938 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.254, allocations: 0 / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.254, allocations: 0 / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.254, allocations: 4 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.2542, allocations: 93 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.2542, allocations: 3.938 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2542, allocations: 3.938 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.2542, allocations: 7.984 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.2542, allocations: 0 / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2542, allocations: 0 / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.2543, allocations: 87.28 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2543, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001876/0.2545, allocations: 4 kB / 435.1 MB, free: 2.613 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: 0 () * 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.000448/0.2549, allocations: 0.6279 MB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.255, allocations: 23.98 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.255, allocations: 256 / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.255, allocations: 4 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2553, allocations: 30.64 kB / 435.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2563, allocations: 1.146 MB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2566, allocations: 0.6846 MB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.33e-05/0.2566, allocations: 0 / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.2566, allocations: 19.38 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2566, allocations: 0 / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.2819, allocations: 1.36 MB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.14, allocations: 4 kB / 439 MB, free: 14.7 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.600938677001977]