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.00168/0.00168, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002114/0.002114, allocations: 212.3 kB / 24.51 MB, free: 3.918 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.2212/0.2212, allocations: 44.93 MB / 359.6 MB, free: 6.117 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.00232/0.00232, allocations: 67.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3273, allocations: 65.48 MB / 0.5578 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006483/0.3338, allocations: 4.299 MB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.3386, allocations: 3.586 MB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.3388, allocations: 4 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.3391, allocations: 55.61 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.3415, allocations: 0.7422 MB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.3419, allocations: 135.3 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.3425, allocations: 374.1 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.3425, allocations: 9.797 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3427, allocations: 151.5 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.343, allocations: 155.4 kB / 0.567 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.343, allocations: 8 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.344, allocations: 395.5 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3441, allocations: 39.83 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3442, allocations: 91.64 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008532/0.3451, allocations: 472.5 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3451, allocations: 4 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3451, allocations: 0 / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3451, allocations: 0 / 0.568 GB, free: 12.98 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.001297/0.3464, allocations: 0.5224 MB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3464, allocations: 12.03 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.164e-05/0.3464, allocations: 4.688 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.3465, allocations: 66.73 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3467, allocations: 28.83 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3471, allocations: 170.2 kB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.3473, allocations: 230.7 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3473, allocations: 19.94 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.3481, allocations: 489 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3481, allocations: 3.984 kB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.3481, allocations: 15.98 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.3482, allocations: 8 kB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3492, allocations: 0.7586 MB / 0.5703 GB, free: 10.5 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.001633/0.3508, allocations: 1.077 MB / 0.5713 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.3512, allocations: 151.7 kB / 0.5715 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3514, allocations: 81.47 kB / 0.5715 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.353, allocations: 0.727 MB / 0.5722 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.353, allocations: 34.56 kB / 0.5723 GB, free: 8.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.353, allocations: 4 kB / 0.5723 GB, free: 8.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000342/0.3534, allocations: 121.4 kB / 0.5724 GB, free: 8.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3534, allocations: 55.41 kB / 0.5724 GB, free: 8.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.3537, allocations: 227.9 kB / 0.5727 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3537, allocations: 25.7 kB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3539, allocations: 223.5 kB / 0.5729 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.3539, allocations: 47.58 kB / 0.5729 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.354, allocations: 90.02 kB / 0.573 GB, free: 7.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3542, allocations: 322.8 kB / 0.5733 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.3543, allocations: 52.83 kB / 0.5734 GB, free: 7.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.3547, allocations: 339.2 kB / 0.5737 GB, free: 6.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.3552, allocations: 444.6 kB / 0.5741 GB, free: 6.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.3552, allocations: 4 kB / 0.5741 GB, free: 6.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006129/0.3558, allocations: 389.8 kB / 0.5745 GB, free: 5.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3559, allocations: 14.81 kB / 0.5745 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3559, allocations: 11.94 kB / 0.5745 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.3559, allocations: 20.03 kB / 0.5746 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3562, allocations: 99.77 kB / 0.5747 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.3562, allocations: 23.92 kB / 0.5747 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3564, allocations: 55.62 kB / 0.5747 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3565, allocations: 24 kB / 0.5747 GB, free: 5.434 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.0001587/0.3566, allocations: 149.6 kB / 0.5749 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.3567, allocations: 23.89 kB / 0.5749 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.357, allocations: 144.9 kB / 0.5751 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.357, allocations: 0 / 0.5751 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.357, allocations: 0 / 0.5751 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.357, allocations: 0 / 0.5751 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.3575, allocations: 383.9 kB / 0.5754 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3575, allocations: 8.094 kB / 0.5754 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.3576, allocations: 8 kB / 0.5754 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3576, allocations: 4 kB / 0.5754 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3576, allocations: 4 kB / 0.5754 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3576, allocations: 4 kB / 0.5754 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3576, allocations: 0 / 0.5754 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3579, allocations: 213.8 kB / 0.5756 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.3579, allocations: 23.83 kB / 0.5757 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3579, allocations: 3.953 kB / 0.5757 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3581, allocations: 8 kB / 0.5757 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.3581, allocations: 15.92 kB / 0.5757 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3581, allocations: 4 kB / 0.5757 GB, free: 4.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.3583, allocations: 156.7 kB / 0.5759 GB, free: 4.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3583, allocations: 0 / 0.5759 GB, free: 4.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005072/0.3588, allocations: 91.81 kB / 0.5759 GB, free: 4.102 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.0007252/0.3595, allocations: 0.8005 MB / 0.5767 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3598, allocations: 169.8 kB / 0.5769 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3598, allocations: 0 / 0.5769 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.3599, allocations: 24.55 kB / 0.5769 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3603, allocations: 40.59 kB / 0.5769 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.3636, allocations: 2.811 MB / 0.5797 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3637, allocations: 116.6 kB / 0.5798 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.3639, allocations: 46.84 kB / 0.5798 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.364, allocations: 63.41 kB / 0.5799 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.364, allocations: 0 / 0.5799 GB, free: 15.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3905, allocations: 5.634 MB / 0.5854 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 11.69 kB / 0.5854 GB, free: 10.15 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: 15.012877670000307]