Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001413/0.001413, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001458/0.001458, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2259/0.2259, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006491/0.3223, allocations: 4.653 MB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.3271, allocations: 4.033 MB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3272, allocations: 0 / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3275, allocations: 55.67 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.3295, allocations: 0.7499 MB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.3299, allocations: 133.3 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.3304, allocations: 378.1 kB / 0.5713 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3305, allocations: 13.8 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.3307, allocations: 147.5 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.3309, allocations: 151.4 kB / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.331, allocations: 12 kB / 0.5716 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.3319, allocations: 439.4 kB / 0.572 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.332, allocations: 47.81 kB / 0.5721 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3321, allocations: 103.5 kB / 0.5722 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.3329, allocations: 472.4 kB / 0.5726 GB, free: 8.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3329, allocations: 0 / 0.5726 GB, free: 8.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3329, allocations: 0 / 0.5726 GB, free: 8.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3329, allocations: 0 / 0.5726 GB, free: 8.898 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001196/0.3341, allocations: 0.5324 MB / 0.5731 GB, free: 8.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3341, allocations: 8.031 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.726e-05/0.3342, allocations: 12.69 kB / 0.5732 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.3342, allocations: 62.7 kB / 0.5732 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.3344, allocations: 32.78 kB / 0.5732 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3347, allocations: 166.2 kB / 0.5734 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.3349, allocations: 226.7 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3349, allocations: 27.94 kB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.3355, allocations: 334.8 kB / 0.574 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3355, allocations: 3.938 kB / 0.574 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3355, allocations: 12 kB / 0.574 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.3355, allocations: 4 kB / 0.574 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.3364, allocations: 0.7547 MB / 0.5747 GB, free: 6.594 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3379, allocations: 1.28 MB / 0.576 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.3382, allocations: 159.7 kB / 0.5761 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3384, allocations: 73.48 kB / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/0.3399, allocations: 0.7427 MB / 0.5769 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3399, allocations: 30.56 kB / 0.5769 GB, free: 4.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3399, allocations: 0 / 0.5769 GB, free: 4.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003176/0.3403, allocations: 137.6 kB / 0.5771 GB, free: 4.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3403, allocations: 51.41 kB / 0.5771 GB, free: 3.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3405, allocations: 222 kB / 0.5773 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3406, allocations: 29.7 kB / 0.5774 GB, free: 3.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3407, allocations: 219.5 kB / 0.5776 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3408, allocations: 47.58 kB / 0.5776 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3409, allocations: 82.08 kB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.341, allocations: 330.8 kB / 0.578 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.3411, allocations: 48.84 kB / 0.5781 GB, free: 2.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.3415, allocations: 351.2 kB / 0.5784 GB, free: 2.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.342, allocations: 444.5 kB / 0.5788 GB, free: 1.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.342, allocations: 4 kB / 0.5788 GB, free: 1.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000607/0.3426, allocations: 389.2 kB / 0.5792 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3426, allocations: 11.98 kB / 0.5792 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.3426, allocations: 15.94 kB / 0.5792 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3427, allocations: 12 kB / 0.5792 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3429, allocations: 96.5 kB / 0.5793 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.3429, allocations: 19.92 kB / 0.5793 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3432, allocations: 55.62 kB / 0.5794 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3432, allocations: 28 kB / 0.5794 GB, free: 1.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 0.0001574/0.3434, allocations: 157.5 kB / 0.5796 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.3434, allocations: 19.91 kB / 0.5796 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3438, allocations: 144.5 kB / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.3438, allocations: 0 / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3438, allocations: 0 / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3438, allocations: 3.984 kB / 0.5797 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.3443, allocations: 376.1 kB / 0.5801 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.3443, allocations: 8.031 kB / 0.5801 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3444, allocations: 11.94 kB / 0.5801 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3444, allocations: 4 kB / 0.5801 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3444, allocations: 0 / 0.5801 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3444, allocations: 7.938 kB / 0.5801 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3444, allocations: 0 / 0.5801 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3446, allocations: 209.8 kB / 0.5803 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3447, allocations: 27.83 kB / 0.5803 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.3447, allocations: 7.953 kB / 0.5804 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3449, allocations: 48 / 0.5804 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.3449, allocations: 15.97 kB / 0.5804 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3449, allocations: 4.062 kB / 0.5804 GB, free: 196 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.345, allocations: 152.5 kB / 0.5805 GB, free: 40 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.345, allocations: 4 kB / 0.5805 GB, free: 36 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000512/0.3456, allocations: 95.92 kB / 0.5806 GB, free: 15.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0007012/0.3463, allocations: 0.8045 MB / 0.5814 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.3466, allocations: 170.2 kB / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3466, allocations: 0 / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.3466, allocations: 23.92 kB / 0.5816 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.347, allocations: 40.39 kB / 0.5816 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.3505, allocations: 2.807 MB / 0.5844 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3509, allocations: 0.7245 MB / 0.5851 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.3511, allocations: 54.92 kB / 0.5851 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.3512, allocations: 63.41 kB / 0.5852 GB, free: 10.81 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3512, allocations: 0 / 0.5852 GB, free: 10.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3783, allocations: 5.591 MB / 0.5906 GB, free: 5.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.14, allocations: 11.5 kB / 0.5907 GB, free: 5.344 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.19817226997111]