Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001658/0.001658, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.002029/0.002029, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 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 1.43/1.43, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 51.91 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002926/0.2657, allocations: 1.478 MB / 424.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.266, allocations: 99.67 kB / 424.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.2661, allocations: 0 / 424.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.2661, allocations: 3.938 kB / 424.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.2661, allocations: 0 / 424.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.2664, allocations: 23.92 kB / 424.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.2665, allocations: 31.84 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2666, allocations: 4 kB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.2666, allocations: 12 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.2667, allocations: 11.92 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2667, allocations: 4 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.2667, allocations: 0 / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.2667, allocations: 11.94 kB / 424.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.2668, allocations: 7.938 kB / 424.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.253e-05/0.2668, allocations: 29.58 kB / 424.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2669, allocations: 0 / 424.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2669, allocations: 0 / 424.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.2669, allocations: 0 / 424.3 MB, free: 12.7 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.0004369/0.2673, allocations: 270.2 kB / 424.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2673, allocations: 12.03 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.2674, allocations: 42.69 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.2674, allocations: 0.9375 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2676, allocations: 122.4 kB / 424.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2676, allocations: 4.375 kB / 424.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2677, allocations: 4.375 kB / 424.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.268, allocations: 111.8 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.268, allocations: 3.938 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.268, allocations: 0 / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.268, allocations: 0 / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.2681, allocations: 19.98 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2682, allocations: 124.8 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.2684, allocations: 50.55 kB / 425 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.2685, allocations: 28.81 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2685, allocations: 0 / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2685, allocations: 42.55 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2685, allocations: 0 / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000237/0.2688, allocations: 81.5 kB / 425.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.2688, allocations: 51.59 kB / 425.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.2689, allocations: 105.9 kB / 425.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2689, allocations: 33.69 kB / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.269, allocations: 80.14 kB / 425.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.269, allocations: 7.938 kB / 425.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.269, allocations: 13.72 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2691, allocations: 318.8 kB / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.2692, allocations: 7.984 kB / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.2692, allocations: 31.42 kB / 425.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.2692, allocations: 31.38 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2692, allocations: 4 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.456e-05/0.2693, allocations: 49.62 kB / 425.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2693, allocations: 16.06 kB / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2693, allocations: 0 / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2694, allocations: 0 / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.2694, allocations: 11.94 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2694, allocations: 0 / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.2694, allocations: 4 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.2694, allocations: 3.984 kB / 425.9 MB, free: 10.82 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.907e-05/0.2695, allocations: 113.8 kB / 426.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2696, allocations: 57.58 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.2696, allocations: 16 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2697, allocations: 0 / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2697, allocations: 3.938 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2697, allocations: 3.984 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.2698, allocations: 120.8 kB / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2698, allocations: 0 / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.2698, allocations: 11.98 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2698, allocations: 3.938 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2698, allocations: 0 / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2698, allocations: 0 / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2698, allocations: 3.938 kB / 426.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.27, allocations: 89.11 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.27, allocations: 7.891 kB / 426.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.27, allocations: 3.938 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.27, allocations: 4.25 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.27, allocations: 0 / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.27, allocations: 4 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.867e-05/0.2701, allocations: 87.27 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2701, allocations: 0 / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.2703, allocations: 7.938 kB / 426.5 MB, free: 10.2 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.0004927/0.2707, allocations: 0.6281 MB / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.2709, allocations: 23.92 kB / 427.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2709, allocations: 0 / 427.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2709, allocations: 3.938 kB / 427.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2711, allocations: 23.97 kB / 427.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2723, allocations: 1.151 MB / 428.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.2723, allocations: 79.44 kB / 428.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.2723, allocations: 0 / 428.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.2724, allocations: 7.438 kB / 428.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2724, allocations: 0 / 428.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.2987, allocations: 1.739 MB / 430.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 2.75 kB / 430.1 MB, free: 6.535 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.606582736130804]