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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 205.5 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.95 MB / 361.6 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 79.88 kB / 0.4969 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2853, allocations: 66.08 MB / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001735/0.287, allocations: 0.4944 MB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003303/0.2873, allocations: 95.66 kB / 0.562 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.2874, allocations: 0 / 0.562 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.2874, allocations: 4 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.2876, allocations: 15.92 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.76e-05/0.2876, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.2877, allocations: 11.98 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.2877, allocations: 0 / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.2877, allocations: 11.94 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.996e-05/0.2878, allocations: 7.922 kB / 0.562 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2878, allocations: 0 / 0.562 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.2879, allocations: 23.97 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2879, allocations: 0 / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.2879, allocations: 0 / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.894e-05/0.288, allocations: 21.75 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.288, allocations: 3.938 kB / 0.5621 GB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.288, allocations: 0 / 0.5621 GB, free: 3.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.288, allocations: 4 kB / 0.5621 GB, free: 3.43 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.0003129/0.2883, allocations: 250.4 kB / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2883, allocations: 8.031 kB / 0.5623 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.508e-05/0.2883, allocations: 192 / 0.5623 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.2884, allocations: 30.75 kB / 0.5624 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.2884, allocations: 4.938 kB / 0.5624 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.2885, allocations: 102.5 kB / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.2885, allocations: 384 / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2885, allocations: 4.375 kB / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2886, allocations: 45.94 kB / 0.5625 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2886, allocations: 4 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.2886, allocations: 0 / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2886, allocations: 0 / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.2887, allocations: 7.984 kB / 0.5625 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2888, allocations: 124.7 kB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.289, allocations: 38.61 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.2891, allocations: 12.8 kB / 0.5627 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.2894, allocations: 52.02 kB / 0.5627 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2894, allocations: 34.5 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2894, allocations: 0 / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001288/0.2907, allocations: 181.4 kB / 0.563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.2908, allocations: 55.41 kB / 0.563 GB, free: 2.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.2908, allocations: 93.86 kB / 0.5631 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2909, allocations: 25.7 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2909, allocations: 80.14 kB / 0.5632 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.2909, allocations: 19.89 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.291, allocations: 17.66 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2911, allocations: 314.8 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.2912, allocations: 15.98 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.2913, allocations: 23.97 kB / 0.5636 GB, free: 1.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2915, allocations: 53.14 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2915, allocations: 0 / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.2917, allocations: 81.55 kB / 0.5637 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2917, allocations: 4 kB / 0.5637 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2917, allocations: 0 / 0.5637 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2917, allocations: 7.984 kB / 0.5637 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2918, allocations: 11.98 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2918, allocations: 0 / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.2919, allocations: 8 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2919, allocations: 4 kB / 0.5637 GB, free: 1.551 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 9.848e-05/0.292, allocations: 117.8 kB / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.292, allocations: 7.891 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.2923, allocations: 93.12 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2923, allocations: 0 / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2923, allocations: 4 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.2923, allocations: 4.266 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.2931, allocations: 322.4 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2931, allocations: 0 / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.2932, allocations: 15.98 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2932, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2932, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2932, allocations: 32 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2932, allocations: 8 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2935, allocations: 184.4 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.2935, allocations: 11.94 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.2935, allocations: 0 / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2936, allocations: 8 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.2936, allocations: 7.984 kB / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2936, allocations: 0 / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.2936, allocations: 75.28 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 4.094 kB / 0.5646 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.2939, allocations: 15.88 kB / 0.5646 GB, free: 0.5977 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.0006163/0.2945, allocations: 0.7055 MB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.2947, allocations: 47.95 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2947, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.2948, allocations: 31.97 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.295, allocations: 4 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.2955, allocations: 167.3 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.2956, allocations: 63.34 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.2956, allocations: 8 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.2957, allocations: 11.44 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2957, allocations: 0 / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.316, allocations: 1.684 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.07, allocations: 14.67 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 649] (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 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.818312802934088]