Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.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.00128/0.00128, 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.00139/0.00139, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2302/0.2302, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 71.89 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1593/0.4568, allocations: 139.4 MB / 0.6977 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.4634, allocations: 4.754 MB / 0.7023 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.4636, allocations: 0 / 0.7023 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.4642, allocations: 63.52 kB / 0.7024 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.4665, allocations: 0.7424 MB / 0.7031 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.4669, allocations: 166 kB / 0.7033 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.4676, allocations: 382.1 kB / 0.7037 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.4677, allocations: 9.812 kB / 0.7037 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.468, allocations: 155.5 kB / 0.7038 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.4683, allocations: 203.3 kB / 0.704 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.4683, allocations: 8 kB / 0.704 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.4699, allocations: 0.7136 MB / 0.7047 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.732e-05/0.47, allocations: 55.75 kB / 0.7048 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.4701, allocations: 107.5 kB / 0.7049 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.4711, allocations: 488.3 kB / 0.7053 GB, free: 500 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4711, allocations: 0 / 0.7053 GB, free: 500 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4711, allocations: 0 / 0.7053 GB, free: 500 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4711, allocations: 0 / 0.7053 GB, free: 500 kB / 0.5294 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.001136/0.4722, allocations: 0.5324 MB / 0.7059 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4723, allocations: 11.97 kB / 0.7059 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.211e-05/0.4723, allocations: 8.688 kB / 0.7059 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.4724, allocations: 58.73 kB / 0.7059 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4725, allocations: 28.83 kB / 0.706 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4729, allocations: 166.2 kB / 0.7061 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4731, allocations: 234.7 kB / 0.7063 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.4731, allocations: 27.94 kB / 0.7064 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.4736, allocations: 334 kB / 0.7067 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4736, allocations: 0 / 0.7067 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.4737, allocations: 12 kB / 0.7067 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.4737, allocations: 4 kB / 0.7067 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.4746, allocations: 0.7586 MB / 0.7074 GB, free: 14.19 MB / 0.545 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.001429/0.476, allocations: 1.209 MB / 0.7086 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.4764, allocations: 167.6 kB / 0.7088 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4765, allocations: 77.48 kB / 0.7089 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.478, allocations: 0.7037 MB / 0.7095 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.478, allocations: 30.56 kB / 0.7096 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.478, allocations: 0 / 0.7096 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006342/0.4787, allocations: 225 kB / 0.7098 GB, free: 11.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4787, allocations: 55.41 kB / 0.7098 GB, free: 11.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4789, allocations: 220.1 kB / 0.71 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4789, allocations: 25.7 kB / 0.7101 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4791, allocations: 219.5 kB / 0.7103 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.4791, allocations: 55.62 kB / 0.7103 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4792, allocations: 89.97 kB / 0.7104 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4793, allocations: 334.8 kB / 0.7107 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.4794, allocations: 44.84 kB / 0.7108 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4797, allocations: 321.2 kB / 0.7111 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.4802, allocations: 416.3 kB / 0.7115 GB, free: 9.582 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4802, allocations: 4 kB / 0.7115 GB, free: 9.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000557/0.4808, allocations: 373.3 kB / 0.7118 GB, free: 9.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4808, allocations: 15.98 kB / 0.7119 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4808, allocations: 11.94 kB / 0.7119 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4808, allocations: 12 kB / 0.7119 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.4811, allocations: 115.7 kB / 0.712 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.4812, allocations: 24.39 kB / 0.712 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.4814, allocations: 20 kB / 0.712 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4814, allocations: 28 kB / 0.7121 GB, free: 8.984 MB / 0.545 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.0001345/0.4815, allocations: 153.6 kB / 0.7122 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.4816, allocations: 19.91 kB / 0.7122 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.4819, allocations: 157.3 kB / 0.7124 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4819, allocations: 4 kB / 0.7124 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4819, allocations: 0 / 0.7124 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4819, allocations: 0 / 0.7124 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.4825, allocations: 415.1 kB / 0.7128 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4825, allocations: 3.984 kB / 0.7128 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.4826, allocations: 27.98 kB / 0.7128 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4826, allocations: 4.062 kB / 0.7128 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.4826, allocations: 0 / 0.7128 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4826, allocations: 4 kB / 0.7128 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4826, allocations: 0 / 0.7128 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.4829, allocations: 224.9 kB / 0.713 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.4829, allocations: 23.89 kB / 0.7131 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.483, allocations: 15.94 kB / 0.7131 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.4832, allocations: 4 kB / 0.7131 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.4832, allocations: 11.98 kB / 0.7131 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4832, allocations: 11.98 kB / 0.7131 GB, free: 7.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001233/0.4833, allocations: 144.5 kB / 0.7132 GB, free: 7.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4833, allocations: 3.938 kB / 0.7132 GB, free: 7.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000466/0.4838, allocations: 99.86 kB / 0.7133 GB, free: 7.59 MB / 0.545 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.0007037/0.4845, allocations: 0.8189 MB / 0.7141 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.4848, allocations: 169.4 kB / 0.7143 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4848, allocations: 0 / 0.7143 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.4848, allocations: 39.86 kB / 0.7143 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.4853, allocations: 47.72 kB / 0.7144 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.4883, allocations: 2.731 MB / 0.717 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4886, allocations: 0.7284 MB / 0.7178 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.4888, allocations: 58.91 kB / 0.7178 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.4889, allocations: 63.41 kB / 0.7179 GB, free: 2.535 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4889, allocations: 0 / 0.7179 GB, free: 2.535 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.5143, allocations: 5.726 MB / 0.7235 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.46, allocations: 11.78 kB / 0.7235 GB, free: 12.92 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.710948380990885]