Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001297/0.001297, allocations: 105.1 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.001422/0.001422, allocations: 214 kB / 24.52 MB, free: 3.914 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2139/0.2139, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001921/0.001921, allocations: 67.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3148, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1818/0.4966, allocations: 119.6 MB / 0.6746 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00573/0.5024, allocations: 4.236 MB / 0.6787 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.5025, allocations: 0 / 0.6787 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.5029, allocations: 55.61 kB / 0.6787 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.505, allocations: 0.7501 MB / 0.6795 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.5054, allocations: 158.9 kB / 0.6796 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.5059, allocations: 386.1 kB / 0.68 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.506, allocations: 13.8 kB / 0.68 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.5062, allocations: 155.5 kB / 0.6802 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.5065, allocations: 199.4 kB / 0.6804 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.5066, allocations: 8 kB / 0.6804 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.5078, allocations: 0.6162 MB / 0.681 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.5079, allocations: 47.81 kB / 0.681 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.5081, allocations: 99.58 kB / 0.6811 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.5088, allocations: 476.2 kB / 0.6816 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5088, allocations: 0 / 0.6816 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5088, allocations: 0 / 0.6816 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5088, allocations: 0 / 0.6816 GB, free: 8.301 MB / 0.5137 GB 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.001103/0.5099, allocations: 0.5285 MB / 0.6821 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.51, allocations: 12.03 kB / 0.6821 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/0.51, allocations: 8.688 kB / 0.6821 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.5101, allocations: 62.72 kB / 0.6822 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.5102, allocations: 24.84 kB / 0.6822 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5105, allocations: 178.2 kB / 0.6823 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.5107, allocations: 226.7 kB / 0.6826 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.5108, allocations: 27.92 kB / 0.6826 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.5114, allocations: 0.4941 MB / 0.6831 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5114, allocations: 7.938 kB / 0.6831 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.5115, allocations: 12 kB / 0.6831 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.5115, allocations: 8 kB / 0.6831 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009223/0.5124, allocations: 0.7547 MB / 0.6838 GB, free: 5.781 MB / 0.5137 GB 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.001348/0.5138, allocations: 1.006 MB / 0.6848 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.5142, allocations: 171.5 kB / 0.685 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5143, allocations: 81.48 kB / 0.6851 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.5158, allocations: 0.6803 MB / 0.6857 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.5159, allocations: 34.56 kB / 0.6858 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.5159, allocations: 0 / 0.6858 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006773/0.5166, allocations: 221 kB / 0.686 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5166, allocations: 55.41 kB / 0.686 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5168, allocations: 215 kB / 0.6862 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.5168, allocations: 29.7 kB / 0.6863 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.517, allocations: 223.5 kB / 0.6865 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.517, allocations: 55.61 kB / 0.6865 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.5171, allocations: 86.03 kB / 0.6866 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5173, allocations: 326.8 kB / 0.6869 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.824e-05/0.5174, allocations: 48.84 kB / 0.687 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.5177, allocations: 321.2 kB / 0.6873 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.5182, allocations: 428.3 kB / 0.6877 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5182, allocations: 7.938 kB / 0.6877 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005777/0.5188, allocations: 377.8 kB / 0.688 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5188, allocations: 12.03 kB / 0.6881 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5188, allocations: 15.94 kB / 0.6881 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.5188, allocations: 12 kB / 0.6881 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.5192, allocations: 103.8 kB / 0.6882 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.5192, allocations: 19.92 kB / 0.6882 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.5194, allocations: 16 kB / 0.6882 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.5195, allocations: 28 kB / 0.6882 GB, free: 0.8398 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * 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.000143/0.5196, allocations: 157.5 kB / 0.6884 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.5197, allocations: 27.89 kB / 0.6884 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.52, allocations: 151.7 kB / 0.6886 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.52, allocations: 4 kB / 0.6886 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.52, allocations: 0 / 0.6886 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.52, allocations: 3.984 kB / 0.6886 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.5206, allocations: 399.2 kB / 0.689 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5206, allocations: 7.969 kB / 0.689 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.5207, allocations: 39.97 kB / 0.689 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5207, allocations: 0 / 0.689 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.5208, allocations: 0 / 0.689 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.5208, allocations: 4 kB / 0.689 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5208, allocations: 0 / 0.689 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.5211, allocations: 228.6 kB / 0.6892 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.5211, allocations: 23.88 kB / 0.6892 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.5212, allocations: 11.95 kB / 0.6893 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5214, allocations: 11.98 kB / 0.6893 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.5214, allocations: 7.984 kB / 0.6893 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.5214, allocations: 11.98 kB / 0.6893 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001331/0.5216, allocations: 148.5 kB / 0.6894 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5216, allocations: 0 / 0.6894 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004899/0.522, allocations: 99.86 kB / 0.6895 GB, free: 15.44 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0007425/0.5228, allocations: 0.8115 MB / 0.6903 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.5231, allocations: 180.8 kB / 0.6905 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5231, allocations: 0 / 0.6905 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.5232, allocations: 31.92 kB / 0.6905 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.5236, allocations: 45.66 kB / 0.6906 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.5268, allocations: 2.735 MB / 0.6932 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5269, allocations: 116.6 kB / 0.6933 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.5272, allocations: 54.92 kB / 0.6934 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5273, allocations: 63.41 kB / 0.6935 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.5273, allocations: 0 / 0.6935 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.5543, allocations: 5.805 MB / 0.6991 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.29, allocations: 2.5 kB / 0.6991 GB, free: 5.398 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.321366465999745]