Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008246/0.0008246, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001001/0.001001, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8717/0.8717, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2554/0.2554, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.004e-05, allocations: 10.28 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.265/0.2651, allocations: 119.7 MB / 0.5487 GB, free: 8.812 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.2683, allocations: 4.245 MB / 0.5529 GB, free: 4.566 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.2684, allocations: 4 kB / 0.5529 GB, free: 4.562 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.2687, allocations: 51.61 kB / 0.5529 GB, free: 4.512 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.2701, allocations: 0.7767 MB / 0.5537 GB, free: 3.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2704, allocations: 165 kB / 0.5539 GB, free: 3.578 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2708, allocations: 389.8 kB / 0.5542 GB, free: 3.195 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.2708, allocations: 9.812 kB / 0.5542 GB, free: 3.188 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2711, allocations: 207.4 kB / 0.5544 GB, free: 2.984 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2712, allocations: 175.6 kB / 0.5546 GB, free: 2.812 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2713, allocations: 8 kB / 0.5546 GB, free: 2.805 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007705/0.272, allocations: 0.612 MB / 0.5552 GB, free: 2.191 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.2721, allocations: 55.75 kB / 0.5553 GB, free: 2.137 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.2722, allocations: 83.77 kB / 0.5553 GB, free: 2.055 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.2728, allocations: 0.4908 MB / 0.5558 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2728, allocations: 0 / 0.5558 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2728, allocations: 0 / 0.5558 GB, free: 1.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2728, allocations: 0 / 0.5558 GB, free: 1.562 MB / 458.7 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.0007833/0.2736, allocations: 0.5213 MB / 0.5563 GB, free: 1.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2736, allocations: 16.03 kB / 0.5563 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.2736, allocations: 62.72 kB / 0.5564 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2738, allocations: 24.84 kB / 0.5564 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.274, allocations: 169.5 kB / 0.5566 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2741, allocations: 228.2 kB / 0.5568 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.2742, allocations: 28.31 kB / 0.5568 GB, free: 428 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.2746, allocations: 0.4948 MB / 0.5573 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2746, allocations: 3.938 kB / 0.5573 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.2746, allocations: 12 kB / 0.5573 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.2746, allocations: 12 kB / 0.5573 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.2751, allocations: 0.7198 MB / 0.558 GB, free: 15.11 MB / 474.7 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.000892/0.276, allocations: 1.01 MB / 0.559 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.2763, allocations: 166.9 kB / 0.5592 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.2764, allocations: 81.42 kB / 0.5593 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/0.2773, allocations: 0.6837 MB / 0.5599 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2773, allocations: 38.56 kB / 0.56 GB, free: 13.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2773, allocations: 0 / 0.56 GB, free: 13.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004802/0.2778, allocations: 213.4 kB / 0.5602 GB, free: 12.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2778, allocations: 59.39 kB / 0.5602 GB, free: 12.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2779, allocations: 227.6 kB / 0.5605 GB, free: 12.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.278, allocations: 32.05 kB / 0.5605 GB, free: 12.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.2781, allocations: 219.5 kB / 0.5607 GB, free: 12.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2781, allocations: 59.52 kB / 0.5607 GB, free: 12.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.2782, allocations: 86.09 kB / 0.5608 GB, free: 12.13 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.2782, allocations: 326.8 kB / 0.5611 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.2783, allocations: 52.95 kB / 0.5612 GB, free: 11.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2785, allocations: 323.3 kB / 0.5615 GB, free: 11.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.2788, allocations: 420.4 kB / 0.5619 GB, free: 10.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2788, allocations: 0 / 0.5619 GB, free: 10.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003716/0.2791, allocations: 369.6 kB / 0.5623 GB, free: 10.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2792, allocations: 16.25 kB / 0.5623 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.2792, allocations: 8 kB / 0.5623 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2792, allocations: 12 kB / 0.5623 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2794, allocations: 111.8 kB / 0.5624 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2794, allocations: 19.88 kB / 0.5624 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2795, allocations: 16 kB / 0.5624 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2796, allocations: 31.98 kB / 0.5625 GB, free: 10.18 MB / 474.7 MB 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 9.09e-05/0.2797, allocations: 145.7 kB / 0.5626 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.2797, allocations: 23.8 kB / 0.5626 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.2799, allocations: 171.1 kB / 0.5628 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2799, allocations: 0 / 0.5628 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2799, allocations: 3.938 kB / 0.5628 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2799, allocations: 0 / 0.5628 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2803, allocations: 401.8 kB / 0.5632 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2803, allocations: 4.062 kB / 0.5632 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.2803, allocations: 33.23 kB / 0.5632 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2803, allocations: 3.938 kB / 0.5632 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2803, allocations: 4 kB / 0.5632 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2803, allocations: 0 / 0.5632 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2804, allocations: 4 kB / 0.5632 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2805, allocations: 224.8 kB / 0.5634 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2806, allocations: 31.81 kB / 0.5635 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2806, allocations: 0 / 0.5635 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2807, allocations: 8 kB / 0.5635 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.2807, allocations: 19.05 kB / 0.5635 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2807, allocations: 15.98 kB / 0.5635 GB, free: 9.027 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.2808, allocations: 149.2 kB / 0.5636 GB, free: 8.883 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2808, allocations: 0 / 0.5636 GB, free: 8.883 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.2811, allocations: 95.88 kB / 0.5637 GB, free: 8.789 MB / 474.7 MB 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.0005323/0.2817, allocations: 0.8152 MB / 0.5645 GB, free: 7.941 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2819, allocations: 165.1 kB / 0.5647 GB, free: 7.781 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2819, allocations: 0 / 0.5647 GB, free: 7.781 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.2819, allocations: 31.92 kB / 0.5647 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2822, allocations: 51.39 kB / 0.5648 GB, free: 7.707 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.2842, allocations: 2.691 MB / 0.5674 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.518e-05/0.2842, allocations: 120.6 kB / 0.5675 GB, free: 4.539 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.2844, allocations: 54.91 kB / 0.5676 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.2845, allocations: 68.47 kB / 0.5676 GB, free: 4.422 MB / 474.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2845, allocations: 0 / 0.5676 GB, free: 4.422 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.3033, allocations: 6.14 MB / 0.5736 GB, free: 14.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.259, allocations: 6.938 kB / 0.5736 GB, free: 14.46 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.222990521229804]