Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 121 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.326, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001933/0.328, allocations: 0.4959 MB / 0.531 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.3284, allocations: 103.1 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.3284, allocations: 1.312 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.3285, allocations: 0 / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.3287, allocations: 16.11 kB / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.346e-05/0.3287, allocations: 5.094 kB / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.3288, allocations: 6.859 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.3288, allocations: 5.516 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.3289, allocations: 5.125 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.3289, allocations: 5.469 kB / 0.5311 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3289, allocations: 1.188 kB / 0.5311 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.329, allocations: 22.05 kB / 0.5311 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.329, allocations: 1.531 kB / 0.5311 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.3291, allocations: 3.984 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.477e-05/0.3292, allocations: 22.78 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3292, allocations: 5.719 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3292, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3292, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003589/0.3296, allocations: 320.7 kB / 0.5315 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3296, allocations: 9.094 kB / 0.5315 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3297, allocations: 38.75 kB / 0.5315 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.3297, allocations: 2.688 kB / 0.5315 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3298, allocations: 164.3 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3298, allocations: 2.188 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3299, allocations: 2.125 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.33, allocations: 37.91 kB / 0.5317 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.33, allocations: 3.938 kB / 0.5317 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.33, allocations: 0 / 0.5317 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.33, allocations: 1.781 kB / 0.5317 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.3301, allocations: 7.578 kB / 0.5317 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3302, allocations: 157.2 kB / 0.5319 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3304, allocations: 40.86 kB / 0.5319 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.3305, allocations: 8.453 kB / 0.5319 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.3308, allocations: 114.9 kB / 0.532 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3309, allocations: 34.56 kB / 0.5321 GB, free: 11.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3309, allocations: 0 / 0.5321 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001306/0.3322, allocations: 191.8 kB / 0.5323 GB, free: 11.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.3323, allocations: 55.41 kB / 0.5323 GB, free: 11.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.3323, allocations: 93.8 kB / 0.5324 GB, free: 11.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3324, allocations: 29.7 kB / 0.5324 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.3324, allocations: 83.2 kB / 0.5325 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3324, allocations: 11.89 kB / 0.5325 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.3325, allocations: 18.84 kB / 0.5325 GB, free: 11.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3326, allocations: 314.8 kB / 0.5328 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3327, allocations: 25.14 kB / 0.5329 GB, free: 11.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.3327, allocations: 18.64 kB / 0.5329 GB, free: 11.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3329, allocations: 46.17 kB / 0.5329 GB, free: 11.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3329, allocations: 3.375 kB / 0.5329 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.3331, allocations: 76.72 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3331, allocations: 4.75 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3331, allocations: 0 / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3332, allocations: 5.156 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3333, allocations: 14.3 kB / 0.533 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.3333, allocations: 5.594 kB / 0.533 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.3334, allocations: 3.594 kB / 0.533 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3334, allocations: 9.266 kB / 0.533 GB, free: 10.98 MB / 398.1 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 (5): * Single equations (assignments): 5 * 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.108e-05/0.3335, allocations: 118.5 kB / 0.5332 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.3336, allocations: 14.02 kB / 0.5332 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.3338, allocations: 90.05 kB / 0.5333 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3338, allocations: 1.25 kB / 0.5333 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3338, allocations: 0 / 0.5333 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3339, allocations: 0 / 0.5333 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.3345, allocations: 358 kB / 0.5336 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3346, allocations: 0 / 0.5336 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.3347, allocations: 14.95 kB / 0.5336 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3347, allocations: 1.062 kB / 0.5336 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3347, allocations: 1.188 kB / 0.5336 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3347, allocations: 5.016 kB / 0.5336 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3347, allocations: 0 / 0.5336 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3349, allocations: 186 kB / 0.5338 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.335, allocations: 82.47 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.335, allocations: 1.438 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3351, allocations: 4.094 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.3352, allocations: 9.297 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.3352, allocations: 2.594 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.3352, allocations: 80.78 kB / 0.534 GB, free: 10.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3352, allocations: 0 / 0.534 GB, free: 10.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3355, allocations: 11.72 kB / 0.534 GB, free: 10.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0005565/0.336, allocations: 0.7181 MB / 0.5347 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3363, allocations: 53.2 kB / 0.5347 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3363, allocations: 0 / 0.5347 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.3364, allocations: 27.28 kB / 0.5348 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.3366, allocations: 5.812 kB / 0.5348 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.3371, allocations: 162 kB / 0.5349 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3374, allocations: 0.6771 MB / 0.5356 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.3374, allocations: 8.656 kB / 0.5356 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.3375, allocations: 9 kB / 0.5356 GB, free: 8.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3375, allocations: 0 / 0.5356 GB, free: 8.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.3566, allocations: 1.473 MB / 0.537 GB, free: 7.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.609, allocations: 11.44 kB / 0.537 GB, free: 7.578 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00052 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches