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.001022/0.001022, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 79.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3441, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001565/0.3457, allocations: 0.4892 MB / 0.531 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.3461, allocations: 99.42 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.3461, allocations: 0 / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.3461, allocations: 0 / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3463, allocations: 16.39 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.08e-05/0.3464, allocations: 5.875 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.3464, allocations: 6.234 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3465, allocations: 10.2 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.3465, allocations: 1.094 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.3465, allocations: 5.938 kB / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3466, allocations: 0 / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.3467, allocations: 22.98 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3467, allocations: 3.984 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.3467, allocations: 1.469 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.592e-05/0.3468, allocations: 26.72 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3468, allocations: 3.938 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3468, allocations: 0 / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3468, allocations: 1.594 kB / 0.5312 GB, free: 12.9 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.0002878/0.3471, allocations: 319.9 kB / 0.5315 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3472, allocations: 9.688 kB / 0.5315 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.3472, allocations: 32.03 kB / 0.5315 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.3472, allocations: 4.938 kB / 0.5315 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3473, allocations: 165.7 kB / 0.5317 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3473, allocations: 1.562 kB / 0.5317 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3474, allocations: 1.531 kB / 0.5317 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.362e-05/0.3475, allocations: 33.44 kB / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3475, allocations: 8.984 kB / 0.5317 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.3475, allocations: 4 kB / 0.5317 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3475, allocations: 1.156 kB / 0.5317 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.3475, allocations: 12.39 kB / 0.5317 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.3477, allocations: 155.3 kB / 0.5319 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3478, allocations: 35.61 kB / 0.5319 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.3479, allocations: 13.77 kB / 0.5319 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.3482, allocations: 117.7 kB / 0.532 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3483, allocations: 31.78 kB / 0.5321 GB, free: 11.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.3483, allocations: 0 / 0.5321 GB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001274/0.3495, allocations: 189.1 kB / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3496, allocations: 53.41 kB / 0.5323 GB, free: 11.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.3497, allocations: 89.86 kB / 0.5324 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3497, allocations: 31.59 kB / 0.5324 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.3497, allocations: 80.14 kB / 0.5325 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3497, allocations: 17.69 kB / 0.5325 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3498, allocations: 21.72 kB / 0.5325 GB, free: 11.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3499, allocations: 316.5 kB / 0.5328 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.35, allocations: 17.89 kB / 0.5328 GB, free: 11.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.3501, allocations: 23.48 kB / 0.5329 GB, free: 11.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3502, allocations: 47.52 kB / 0.5329 GB, free: 11.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3502, allocations: 1.219 kB / 0.5329 GB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.3504, allocations: 86.78 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3505, allocations: 7.094 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3505, allocations: 1.25 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3505, allocations: 0 / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3506, allocations: 15.42 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3506, allocations: 0 / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.3507, allocations: 6.828 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3507, allocations: 2.219 kB / 0.533 GB, free: 11 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 6.872e-05/0.3508, allocations: 122.8 kB / 0.5331 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3508, allocations: 9.188 kB / 0.5332 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3511, allocations: 87.89 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3511, allocations: 0 / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3511, allocations: 0 / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3511, allocations: 1.844 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.3518, allocations: 352 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3518, allocations: 1.781 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.3519, allocations: 18.2 kB / 0.5336 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3519, allocations: 0 / 0.5336 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3519, allocations: 9.484 kB / 0.5336 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3519, allocations: 1.312 kB / 0.5336 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3519, allocations: 4.031 kB / 0.5336 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3522, allocations: 182.8 kB / 0.5338 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3522, allocations: 83.14 kB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3522, allocations: 3.938 kB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3523, allocations: 4.578 kB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.3524, allocations: 10.98 kB / 0.5339 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3524, allocations: 3.25 kB / 0.5339 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.3524, allocations: 75.28 kB / 0.534 GB, free: 10.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3524, allocations: 0 / 0.534 GB, free: 10.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3527, allocations: 9.969 kB / 0.534 GB, free: 10.07 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.0005256/0.3532, allocations: 0.7264 MB / 0.5347 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3534, allocations: 40.84 kB / 0.5347 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3534, allocations: 0 / 0.5347 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.3535, allocations: 31.03 kB / 0.5347 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.3538, allocations: 10.81 kB / 0.5348 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.3543, allocations: 155.2 kB / 0.5349 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3546, allocations: 0.6769 MB / 0.5356 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.3546, allocations: 8.125 kB / 0.5356 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3547, allocations: 10.19 kB / 0.5356 GB, free: 8.445 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3547, allocations: 0 / 0.5356 GB, free: 8.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.3718, allocations: 1.492 MB / 0.537 GB, free: 7.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.614, allocations: 14.47 kB / 0.5371 GB, free: 7.586 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/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