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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008717/0.0008717, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008463/0.0008463, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8921/0.8921, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.2568/0.2568, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.349e-05, allocations: 2.281 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1996/0.1996, allocations: 8.039 MB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.2063, allocations: 9.863 MB / 460 MB, free: 34.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.2064, allocations: 4 kB / 460 MB, free: 34.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.2066, allocations: 42.16 kB / 460.1 MB, free: 34.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.2116, allocations: 1.877 MB / 462 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.077e-05/0.2117, allocations: 0 / 462 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2118, allocations: 52.66 kB / 462 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.2119, allocations: 3.156 kB / 462 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.212, allocations: 50.7 kB / 462.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.2121, allocations: 17.08 kB / 462.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2121, allocations: 0 / 462.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/0.2192, allocations: 6.586 MB / 468.7 MB, free: 32.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2192, allocations: 7.938 kB / 468.7 MB, free: 32.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.2192, allocations: 16.7 kB / 468.7 MB, free: 32.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009488/0.2287, allocations: 5.335 MB / 474 MB, free: 32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2287, allocations: 0 / 474 MB, free: 32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2287, allocations: 4 kB / 474 MB, free: 32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2287, allocations: 0 / 474 MB, free: 32 MB / 410.7 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.003118/0.2319, allocations: 0.5013 MB / 474.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.2319, allocations: 12.94 kB / 474.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.232, allocations: 30.56 kB / 474.6 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2321, allocations: 13.52 kB / 474.6 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.2322, allocations: 108.2 kB / 474.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2322, allocations: 8.391 kB / 474.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2322, allocations: 4 kB / 474.7 MB, free: 31.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2323, allocations: 76.02 kB / 474.8 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2323, allocations: 7.141 kB / 474.8 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2324, allocations: 0 / 474.8 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2324, allocations: 8.656 kB / 474.8 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.2324, allocations: 78.08 kB / 474.9 MB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.2329, allocations: 284.1 kB / 475.2 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/0.2329, allocations: 45.34 kB / 475.2 MB, free: 31.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.233, allocations: 24.52 kB / 475.2 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.2349, allocations: 0.8097 MB / 476 MB, free: 30.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2349, allocations: 32.88 kB / 476.1 MB, free: 30.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.2349, allocations: 0 / 476.1 MB, free: 30.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000331/0.2352, allocations: 116.8 kB / 476.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2353, allocations: 56.5 kB / 476.2 MB, free: 30.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.2353, allocations: 98.47 kB / 476.3 MB, free: 30.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.2353, allocations: 26.73 kB / 476.4 MB, free: 30.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.2354, allocations: 97.03 kB / 476.4 MB, free: 30.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2354, allocations: 27.31 kB / 476.5 MB, free: 30.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2354, allocations: 25.06 kB / 476.5 MB, free: 30.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.837e-05/0.2354, allocations: 315.2 kB / 476.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.2355, allocations: 17.94 kB / 476.8 MB, free: 30.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.2355, allocations: 38.58 kB / 476.9 MB, free: 30.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.2356, allocations: 75.3 kB / 476.9 MB, free: 30 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2356, allocations: 0 / 476.9 MB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001426/0.2357, allocations: 93.28 kB / 477 MB, free: 29.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2358, allocations: 9.109 kB / 477 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2358, allocations: 6.719 kB / 477 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.2358, allocations: 1 kB / 477 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.2359, allocations: 7.344 kB / 477.1 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2359, allocations: 1.156 kB / 477.1 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.2359, allocations: 6.141 kB / 477.1 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2359, allocations: 2.375 kB / 477.1 MB, free: 29.93 MB / 410.7 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 5.621e-05/0.236, allocations: 123.2 kB / 477.2 MB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.236, allocations: 2.531 kB / 477.2 MB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.2362, allocations: 154.3 kB / 477.3 MB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.622e-05/0.2363, allocations: 128.1 kB / 477.5 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2363, allocations: 2.859 kB / 477.5 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2363, allocations: 0 / 477.5 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.2367, allocations: 400.1 kB / 477.9 MB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2367, allocations: 3.469 kB / 477.9 MB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.2367, allocations: 13.09 kB / 477.9 MB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2367, allocations: 1 kB / 477.9 MB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2367, allocations: 5.062 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2368, allocations: 1.375 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.2368, allocations: 3.938 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2369, allocations: 227.3 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.2369, allocations: 2.656 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2369, allocations: 8.594 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.237, allocations: 2.688 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.237, allocations: 10.48 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.237, allocations: 3 kB / 478.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.104e-05/0.237, allocations: 86.12 kB / 478.2 MB, free: 29.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.237, allocations: 0 / 478.2 MB, free: 29.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002342/0.2393, allocations: 358.4 kB / 478.6 MB, free: 28.95 MB / 410.7 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.01192/0.2513, allocations: 4.798 MB / 483.4 MB, free: 26.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.2516, allocations: 108.2 kB / 483.5 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2516, allocations: 0 / 483.5 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.2516, allocations: 44.02 kB / 483.5 MB, free: 26.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.252, allocations: 49.59 kB / 483.6 MB, free: 26.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.2547, allocations: 387 kB / 483.9 MB, free: 25.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.2548, allocations: 77.39 kB / 484 MB, free: 25.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.668e-05/0.2549, allocations: 22.38 kB / 484 MB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.255, allocations: 27.02 kB / 484.1 MB, free: 25.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.255, allocations: 0 / 484.1 MB, free: 25.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.3048, allocations: 20.94 MB / 0.4932 GB, free: 17.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.829, allocations: 16.19 kB / 0.4932 GB, free: 17.89 MB / 410.7 MB " [Timeout remaining time 652] (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 --stepSize=0.00019992 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 10.123534825630486]