Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 204.6 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 71.88 kB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3293, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01322/0.3426, allocations: 8.403 MB / 0.5387 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.3574, allocations: 11.13 MB / 0.5496 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.3575, allocations: 0 / 0.5496 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3578, allocations: 43.92 kB / 0.5496 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.363, allocations: 1.808 MB / 0.5514 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.725e-06/0.3631, allocations: 0 / 0.5514 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3632, allocations: 51.66 kB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.3632, allocations: 4 kB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3633, allocations: 35.86 kB / 0.5515 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.3634, allocations: 23.86 kB / 0.5515 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.3634, allocations: 0 / 0.5515 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3735, allocations: 6.647 MB / 0.558 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.3735, allocations: 11.88 kB / 0.558 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3736, allocations: 19.91 kB / 0.558 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.3842, allocations: 4.636 MB / 0.5625 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3843, allocations: 0 / 0.5625 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3843, allocations: 0 / 0.5625 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3843, allocations: 4 kB / 0.5625 GB, free: 0.9414 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002291/0.3866, allocations: 0.5654 MB / 0.5631 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3866, allocations: 8.031 kB / 0.5631 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.3867, allocations: 30.56 kB / 0.5631 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3868, allocations: 15.98 kB / 0.5631 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3869, allocations: 163 kB / 0.5633 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3869, allocations: 4 kB / 0.5633 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.387, allocations: 0 / 0.5633 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3871, allocations: 93.59 kB / 0.5634 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3872, allocations: 3.938 kB / 0.5634 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3872, allocations: 0 / 0.5634 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3872, allocations: 4 kB / 0.5634 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.3873, allocations: 75.95 kB / 0.5635 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3877, allocations: 324.7 kB / 0.5638 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.3878, allocations: 42.58 kB / 0.5638 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.3879, allocations: 36.94 kB / 0.5639 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.3911, allocations: 1.85 MB / 0.5657 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3911, allocations: 30.56 kB / 0.5657 GB, free: 13.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3911, allocations: 7.938 kB / 0.5657 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002874/0.3914, allocations: 113.6 kB / 0.5658 GB, free: 13.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.3914, allocations: 51.41 kB / 0.5659 GB, free: 13.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.3915, allocations: 101.9 kB / 0.566 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3915, allocations: 25.7 kB / 0.566 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3916, allocations: 88.05 kB / 0.5661 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3916, allocations: 27.55 kB / 0.5661 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3917, allocations: 25.98 kB / 0.5661 GB, free: 12.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3918, allocations: 326.8 kB / 0.5664 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.3918, allocations: 16 kB / 0.5664 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.3919, allocations: 37.64 kB / 0.5665 GB, free: 12.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.392, allocations: 69.64 kB / 0.5665 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.392, allocations: 0 / 0.5665 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.3921, allocations: 89.62 kB / 0.5666 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3922, allocations: 6.375 kB / 0.5666 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3922, allocations: 4 kB / 0.5666 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3922, allocations: 4 kB / 0.5666 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.3923, allocations: 12 kB / 0.5666 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3923, allocations: 0 / 0.5666 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.3923, allocations: 11.83 kB / 0.5667 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3923, allocations: 4 kB / 0.5667 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.232e-05/0.3924, allocations: 113.8 kB / 0.5668 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3925, allocations: 4 kB / 0.5668 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3927, allocations: 149.6 kB / 0.5669 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001387/0.3929, allocations: 116.4 kB / 0.567 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3929, allocations: 0 / 0.567 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3929, allocations: 0 / 0.567 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.3933, allocations: 446.1 kB / 0.5675 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3933, allocations: 3.938 kB / 0.5675 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.3934, allocations: 12 kB / 0.5675 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3934, allocations: 3.938 kB / 0.5675 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3934, allocations: 4 kB / 0.5675 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3934, allocations: 4 kB / 0.5675 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3934, allocations: 0 / 0.5675 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.3937, allocations: 223.4 kB / 0.5677 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.3937, allocations: 84.95 kB / 0.5678 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3937, allocations: 11.94 kB / 0.5678 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.3938, allocations: 256 / 0.5678 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.3938, allocations: 4 kB / 0.5678 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3938, allocations: 12.27 kB / 0.5678 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.3939, allocations: 83.28 kB / 0.5679 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3939, allocations: 0 / 0.5679 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001688/0.3956, allocations: 351.8 kB / 0.5682 GB, free: 10.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01195/0.4075, allocations: 4.366 MB / 0.5725 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4078, allocations: 121 kB / 0.5726 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4079, allocations: 4 kB / 0.5726 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.4079, allocations: 43.98 kB / 0.5726 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.4084, allocations: 48.16 kB / 0.5727 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.4102, allocations: 402.4 kB / 0.5731 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.4105, allocations: 0.6924 MB / 0.5737 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.4105, allocations: 15.69 kB / 0.5738 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.4106, allocations: 35.42 kB / 0.5738 GB, free: 4.688 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4106, allocations: 0 / 0.5738 GB, free: 4.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.4526, allocations: 19.97 MB / 0.5933 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/9.368, allocations: 5.234 kB / 0.5933 GB, free: 0.7734 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches