Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002361/0.002361, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.91 MB / 359.6 MB, free: 6.383 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006283/0.3277, allocations: 4.641 MB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.3325, allocations: 4.041 MB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3327, allocations: 3.938 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.333, allocations: 51.67 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.3351, allocations: 0.7461 MB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3354, allocations: 138.6 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.336, allocations: 382 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.3361, allocations: 9.812 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.3363, allocations: 147.5 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.3366, allocations: 155.4 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3367, allocations: 8 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3379, allocations: 443.4 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.338, allocations: 47.81 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3381, allocations: 99.47 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.339, allocations: 476.4 kB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.339, allocations: 0 / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.339, allocations: 4 kB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.339, allocations: 0 / 0.5689 GB, free: 12.33 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.001173/0.3402, allocations: 0.5363 MB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3402, allocations: 8.031 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.384e-05/0.3402, allocations: 8.688 kB / 0.5695 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.3403, allocations: 62.73 kB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3404, allocations: 24.78 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.3408, allocations: 174.2 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.341, allocations: 226.7 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.341, allocations: 23.94 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.3416, allocations: 334.8 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3416, allocations: 4 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3416, allocations: 8 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.3416, allocations: 11.98 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.3425, allocations: 0.7586 MB / 0.571 GB, free: 10.02 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.001571/0.3441, allocations: 1.276 MB / 0.5723 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.3445, allocations: 155.7 kB / 0.5724 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.3446, allocations: 81.47 kB / 0.5725 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.3463, allocations: 0.731 MB / 0.5732 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3464, allocations: 42.56 kB / 0.5732 GB, free: 7.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.3464, allocations: 0 / 0.5732 GB, free: 7.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003445/0.3467, allocations: 125.3 kB / 0.5734 GB, free: 7.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3468, allocations: 55.41 kB / 0.5734 GB, free: 7.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.347, allocations: 223.9 kB / 0.5736 GB, free: 7.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3471, allocations: 25.7 kB / 0.5737 GB, free: 7.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3472, allocations: 223.5 kB / 0.5739 GB, free: 6.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.3473, allocations: 47.58 kB / 0.5739 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3474, allocations: 86.08 kB / 0.574 GB, free: 6.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3476, allocations: 330.8 kB / 0.5743 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.3477, allocations: 44.84 kB / 0.5744 GB, free: 6.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.348, allocations: 347.2 kB / 0.5747 GB, free: 5.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.3486, allocations: 440.6 kB / 0.5751 GB, free: 5.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3486, allocations: 4 kB / 0.5751 GB, free: 5.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005803/0.3492, allocations: 388.9 kB / 0.5755 GB, free: 4.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3492, allocations: 12.97 kB / 0.5755 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3492, allocations: 15.94 kB / 0.5755 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3492, allocations: 16 kB / 0.5755 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3495, allocations: 99.77 kB / 0.5756 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.3495, allocations: 19.94 kB / 0.5756 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3498, allocations: 51.62 kB / 0.5757 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.3498, allocations: 31.98 kB / 0.5757 GB, free: 4.703 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.0001347/0.3499, allocations: 153.5 kB / 0.5759 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.35, allocations: 23.91 kB / 0.5759 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3503, allocations: 144.5 kB / 0.576 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3503, allocations: 3.984 kB / 0.576 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3503, allocations: 3.938 kB / 0.576 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3503, allocations: 0 / 0.576 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.3508, allocations: 376 kB / 0.5764 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.3508, allocations: 4.062 kB / 0.5764 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.3509, allocations: 12 kB / 0.5764 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3509, allocations: 4 kB / 0.5764 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3509, allocations: 0 / 0.5764 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3509, allocations: 11.86 kB / 0.5764 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3509, allocations: 4 kB / 0.5764 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3511, allocations: 206 kB / 0.5766 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3512, allocations: 27.83 kB / 0.5767 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3512, allocations: 3.953 kB / 0.5767 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3514, allocations: 4 kB / 0.5767 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.3514, allocations: 15.97 kB / 0.5767 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3514, allocations: 8 kB / 0.5767 GB, free: 3.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3515, allocations: 152.5 kB / 0.5768 GB, free: 3.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3515, allocations: 0 / 0.5768 GB, free: 3.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005477/0.3521, allocations: 95.86 kB / 0.5769 GB, free: 3.363 MB / 414.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.000709/0.3528, allocations: 0.793 MB / 0.5777 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3531, allocations: 181 kB / 0.5779 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3531, allocations: 0 / 0.5779 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.3532, allocations: 19.94 kB / 0.5779 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3536, allocations: 48.06 kB / 0.5779 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.357, allocations: 2.803 MB / 0.5807 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3575, allocations: 0.7245 MB / 0.5814 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.3577, allocations: 58.86 kB / 0.5814 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3578, allocations: 63.41 kB / 0.5815 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3578, allocations: 0 / 0.5815 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3828, allocations: 5.58 MB / 0.5869 GB, free: 8.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.51, allocations: 15.86 kB / 0.587 GB, free: 8.801 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.838670063007157]