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.001858/0.001858, allocations: 112.2 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.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.001356/0.001356, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.483/1.483, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001532/0.001532, allocations: 47.92 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2915, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002891/0.2943, allocations: 1.482 MB / 424.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.2947, allocations: 91.75 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.2947, allocations: 0 / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.2948, allocations: 3.938 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.2948, allocations: 3.938 kB / 424.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2951, allocations: 23.91 kB / 424.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.2951, allocations: 31.92 kB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2953, allocations: 7.984 kB / 424.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.2953, allocations: 15.94 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.2953, allocations: 3.938 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2953, allocations: 4 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.2954, allocations: 0 / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2954, allocations: 15.92 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2954, allocations: 15.92 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.2955, allocations: 24.88 kB / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2955, allocations: 3.938 kB / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2955, allocations: 0 / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2955, allocations: 4 kB / 424.4 MB, free: 12.84 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.0004242/0.296, allocations: 273.7 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.296, allocations: 8.031 kB / 424.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.296, allocations: 30.75 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2961, allocations: 4.938 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2963, allocations: 130.4 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2963, allocations: 384 / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2963, allocations: 4.375 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2966, allocations: 107.9 kB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2966, allocations: 3.938 kB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2967, allocations: 7.938 kB / 424.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2967, allocations: 0 / 424.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.2967, allocations: 15.98 kB / 424.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2969, allocations: 132.7 kB / 425.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.297, allocations: 54.55 kB / 425.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.2971, allocations: 24.86 kB / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2971, allocations: 0 / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2972, allocations: 46.55 kB / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2972, allocations: 0 / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.2974, allocations: 73.56 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.2974, allocations: 51.41 kB / 425.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.2975, allocations: 105.9 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2975, allocations: 25.7 kB / 425.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2976, allocations: 92.12 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.2976, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2976, allocations: 25.66 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2977, allocations: 310.8 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.2978, allocations: 3.984 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.2978, allocations: 27.44 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.2978, allocations: 39.38 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2978, allocations: 0 / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.805e-05/0.2979, allocations: 53.62 kB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2979, allocations: 14.28 kB / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2979, allocations: 0 / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.298, allocations: 0 / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.298, allocations: 8 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.298, allocations: 4.125 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.298, allocations: 0 / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.298, allocations: 7.938 kB / 426 MB, free: 10.97 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 0.000105/0.2982, allocations: 113.8 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2983, allocations: 65.52 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.2983, allocations: 8 kB / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2983, allocations: 0 / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2983, allocations: 0 / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2983, allocations: 7.984 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2984, allocations: 128.8 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2984, allocations: 3.938 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.2985, allocations: 4 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.2985, allocations: 7.938 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2985, allocations: 0 / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2985, allocations: 0 / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2985, allocations: 7.922 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.2986, allocations: 81.12 kB / 426.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.2986, allocations: 8.266 kB / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.2986, allocations: 11.92 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.2987, allocations: 256 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-06/0.2987, allocations: 0 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2987, allocations: 4 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.2987, allocations: 87.28 kB / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2987, allocations: 0 / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.2989, allocations: 4 kB / 426.5 MB, free: 10.36 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.0004642/0.2994, allocations: 0.6319 MB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2995, allocations: 23.98 kB / 427.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2995, allocations: 0 / 427.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2995, allocations: 3.938 kB / 427.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2997, allocations: 27.75 kB / 427.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3009, allocations: 1.142 MB / 428.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3012, allocations: 0.6923 MB / 429.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.3012, allocations: 7.938 kB / 429.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.3012, allocations: 7.438 kB / 429.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3012, allocations: 0 / 429.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3294, allocations: 1.355 MB / 430.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.16, allocations: 6.297 kB / 430.4 MB, free: 6.441 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.713535689999844]