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.001436/0.001436, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001534/0.2933, allocations: 0.4966 MB / 0.531 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.2936, allocations: 102.7 kB / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.2937, allocations: 0 / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.2937, allocations: 0 / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2939, allocations: 21.23 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.126e-05/0.2939, allocations: 5.062 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.403e-05/0.294, allocations: 2.688 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.2941, allocations: 5.375 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.2941, allocations: 5.484 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.2941, allocations: 5.219 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.2942, allocations: 1.438 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.2943, allocations: 21.81 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.2943, allocations: 1.062 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.2943, allocations: 1.531 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.708e-05/0.2944, allocations: 29.5 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2944, allocations: 9.203 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2944, allocations: 0 / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2944, allocations: 0 / 0.5312 GB, free: 12.91 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.0003548/0.2948, allocations: 317.2 kB / 0.5315 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2949, allocations: 10 kB / 0.5315 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2949, allocations: 30.75 kB / 0.5315 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.2949, allocations: 6.328 kB / 0.5315 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.295, allocations: 164.3 kB / 0.5317 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2951, allocations: 5.719 kB / 0.5317 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2951, allocations: 1.656 kB / 0.5317 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2952, allocations: 38.56 kB / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2952, allocations: 7.922 kB / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2952, allocations: 1.375 kB / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2952, allocations: 0 / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.2953, allocations: 3.906 kB / 0.5317 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.2955, allocations: 160 kB / 0.5319 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.2957, allocations: 39.3 kB / 0.5319 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.2957, allocations: 14.44 kB / 0.5319 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.2961, allocations: 110.1 kB / 0.532 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2961, allocations: 30.56 kB / 0.5321 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.226e-06/0.2961, allocations: 1.438 kB / 0.5321 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001189/0.2973, allocations: 191.3 kB / 0.5323 GB, free: 11.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2974, allocations: 52.56 kB / 0.5323 GB, free: 11.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.2975, allocations: 95.11 kB / 0.5324 GB, free: 11.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2975, allocations: 31.11 kB / 0.5324 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.2975, allocations: 80.14 kB / 0.5325 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.2975, allocations: 14.38 kB / 0.5325 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.2976, allocations: 21.39 kB / 0.5325 GB, free: 11.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2977, allocations: 313.7 kB / 0.5328 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.2978, allocations: 18.2 kB / 0.5329 GB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.2979, allocations: 23.12 kB / 0.5329 GB, free: 11.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.298, allocations: 48.66 kB / 0.5329 GB, free: 11.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.298, allocations: 3.984 kB / 0.5329 GB, free: 11.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.2982, allocations: 82.98 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2983, allocations: 5.75 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2983, allocations: 0 / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2983, allocations: 0 / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2984, allocations: 14.89 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2984, allocations: 0 / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.2985, allocations: 15.48 kB / 0.533 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2985, allocations: 3.594 kB / 0.533 GB, free: 11.01 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.991e-05/0.2986, allocations: 113.7 kB / 0.5331 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.2986, allocations: 11.38 kB / 0.5332 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.2989, allocations: 89.14 kB / 0.5332 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2989, allocations: 0 / 0.5332 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2989, allocations: 0 / 0.5332 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2989, allocations: 0 / 0.5332 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.2996, allocations: 357.6 kB / 0.5336 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2996, allocations: 1.062 kB / 0.5336 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.2997, allocations: 18.42 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2997, allocations: 0 / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2997, allocations: 1.281 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2997, allocations: 1.219 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2997, allocations: 1.094 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2999, allocations: 182.1 kB / 0.5338 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3, allocations: 86.39 kB / 0.5339 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3, allocations: 5.219 kB / 0.5339 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.3001, allocations: 8.25 kB / 0.5339 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3001, allocations: 1.281 kB / 0.5339 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3001, allocations: 6.781 kB / 0.5339 GB, free: 10.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.3002, allocations: 83.27 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3002, allocations: 1.625 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3004, allocations: 6.75 kB / 0.534 GB, free: 10.09 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.0005262/0.3009, allocations: 0.7183 MB / 0.5347 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3012, allocations: 48.77 kB / 0.5347 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3012, allocations: 4 kB / 0.5347 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.3013, allocations: 23.05 kB / 0.5347 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3015, allocations: 6.562 kB / 0.5348 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.302, allocations: 163 kB / 0.5349 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3023, allocations: 0.6736 MB / 0.5356 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.3023, allocations: 11.77 kB / 0.5356 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3024, allocations: 9.875 kB / 0.5356 GB, free: 8.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3024, allocations: 0 / 0.5356 GB, free: 8.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.3217, allocations: 1.494 MB / 0.537 GB, free: 7.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.611, allocations: 9.5 kB / 0.5371 GB, free: 7.605 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