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.001238/0.001238, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 197.2 kB / 18.73 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.402/1.402, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2962, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001552/0.2978, allocations: 0.4901 MB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.2982, allocations: 106.9 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.2982, allocations: 0 / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.2982, allocations: 1.344 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.2984, allocations: 15.67 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.691e-05/0.2985, allocations: 1.375 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.2985, allocations: 3.688 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.2986, allocations: 5.125 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.2986, allocations: 5.391 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.2987, allocations: 9.422 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2987, allocations: 4 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.2988, allocations: 18.86 kB / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2988, allocations: 0 / 0.5312 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2988, allocations: 10.16 kB / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.2989, allocations: 22.64 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2989, allocations: 3.938 kB / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2989, allocations: 0 / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2989, allocations: 0 / 0.5313 GB, free: 12.83 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.0003518/0.2993, allocations: 325.4 kB / 0.5316 GB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2993, allocations: 8.938 kB / 0.5316 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2994, allocations: 40.41 kB / 0.5316 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.2994, allocations: 0.9375 kB / 0.5316 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2995, allocations: 162 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2996, allocations: 384 / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2996, allocations: 2 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.2997, allocations: 37.56 kB / 0.5318 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2997, allocations: 5.531 kB / 0.5318 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2997, allocations: 3.984 kB / 0.5318 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2997, allocations: 0 / 0.5318 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.2998, allocations: 13.56 kB / 0.5319 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.3, allocations: 156.9 kB / 0.532 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3001, allocations: 37.08 kB / 0.532 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.3002, allocations: 8.359 kB / 0.532 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.3005, allocations: 117.5 kB / 0.5322 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3006, allocations: 34.09 kB / 0.5322 GB, free: 11.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3006, allocations: 3.938 kB / 0.5322 GB, free: 11.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001178/0.3018, allocations: 182.7 kB / 0.5324 GB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3018, allocations: 55.41 kB / 0.5324 GB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.3019, allocations: 95.61 kB / 0.5325 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3019, allocations: 27.3 kB / 0.5325 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.3019, allocations: 84.08 kB / 0.5326 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.302, allocations: 13.27 kB / 0.5326 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.302, allocations: 17.81 kB / 0.5326 GB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3022, allocations: 312.2 kB / 0.5329 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.3023, allocations: 27.88 kB / 0.533 GB, free: 11.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.3023, allocations: 18.45 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3025, allocations: 44.7 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3025, allocations: 0 / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001974/0.3027, allocations: 74.23 kB / 0.5331 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3027, allocations: 5.531 kB / 0.5331 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3027, allocations: 9.203 kB / 0.5331 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3028, allocations: 0 / 0.5331 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3029, allocations: 17.83 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3029, allocations: 1.25 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.303, allocations: 7.688 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.303, allocations: 1.25 kB / 0.5331 GB, free: 10.93 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.088e-05/0.3031, allocations: 120 kB / 0.5333 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3031, allocations: 12.89 kB / 0.5333 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3034, allocations: 90.47 kB / 0.5334 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3034, allocations: 1.062 kB / 0.5334 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3034, allocations: 0 / 0.5334 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.3034, allocations: 5.172 kB / 0.5334 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.3041, allocations: 356.8 kB / 0.5337 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3041, allocations: 1.188 kB / 0.5337 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.3042, allocations: 18.23 kB / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3042, allocations: 1.781 kB / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3042, allocations: 0 / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3043, allocations: 1.594 kB / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3043, allocations: 0 / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3045, allocations: 182.5 kB / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.3046, allocations: 86.94 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3046, allocations: 3.984 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.3047, allocations: 3.875 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.3047, allocations: 6 kB / 0.534 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3047, allocations: 1.938 kB / 0.534 GB, free: 10.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.3048, allocations: 88.81 kB / 0.5341 GB, free: 9.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3048, allocations: 0 / 0.5341 GB, free: 9.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.305, allocations: 7.688 kB / 0.5341 GB, free: 9.996 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.0005675/0.3056, allocations: 0.711 MB / 0.5348 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3058, allocations: 52.48 kB / 0.5348 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3058, allocations: 0 / 0.5348 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.3059, allocations: 23.03 kB / 0.5349 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3061, allocations: 9.875 kB / 0.5349 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3067, allocations: 173.8 kB / 0.535 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.307, allocations: 0.6781 MB / 0.5357 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.328e-05/0.307, allocations: 11.81 kB / 0.5357 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.3071, allocations: 9.188 kB / 0.5357 GB, free: 8.363 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3071, allocations: 0 / 0.5357 GB, free: 8.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3281, allocations: 1.467 MB / 0.5371 GB, free: 7.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.004, allocations: 17.11 kB / 0.5372 GB, free: 7.52 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