Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000946/0.0009461, allocations: 193.8 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007639, allocations: 102.2 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3079/0.3079, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.321, allocations: 62.96 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1409/0.462, allocations: 123.3 MB / 0.6363 GB, free: 13.84 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006017/0.468, allocations: 4.36 MB / 0.6406 GB, free: 9.461 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.4683, allocations: 0 / 0.6406 GB, free: 9.461 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.4689, allocations: 51.66 kB / 0.6406 GB, free: 9.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.4712, allocations: 0.6442 MB / 0.6413 GB, free: 8.766 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.4717, allocations: 150.2 kB / 0.6414 GB, free: 8.625 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.4724, allocations: 398 kB / 0.6418 GB, free: 8.234 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.4725, allocations: 10.48 kB / 0.6418 GB, free: 8.227 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.4728, allocations: 147.5 kB / 0.642 GB, free: 8.082 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.4733, allocations: 195.4 kB / 0.6421 GB, free: 7.891 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.4733, allocations: 8 kB / 0.6421 GB, free: 7.883 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.475, allocations: 0.7056 MB / 0.6428 GB, free: 7.176 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4751, allocations: 43.81 kB / 0.6429 GB, free: 7.133 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4753, allocations: 129.2 kB / 0.643 GB, free: 7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.476, allocations: 325.1 kB / 0.6433 GB, free: 6.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.476, allocations: 0 / 0.6433 GB, free: 6.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.476, allocations: 0 / 0.6433 GB, free: 6.684 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.4761, allocations: 0 / 0.6433 GB, free: 6.684 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.001197/0.4773, allocations: 0.5463 MB / 0.6438 GB, free: 6.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4773, allocations: 8.031 kB / 0.6439 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.4774, allocations: 58.73 kB / 0.6439 GB, free: 6.012 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4776, allocations: 32.64 kB / 0.6439 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4778, allocations: 224.1 kB / 0.6442 GB, free: 5.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.478, allocations: 127.9 kB / 0.6443 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.478, allocations: 24.12 kB / 0.6443 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.4785, allocations: 326.8 kB / 0.6446 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4786, allocations: 0 / 0.6446 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.4786, allocations: 8 kB / 0.6446 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4786, allocations: 4 kB / 0.6446 GB, free: 5.191 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.4794, allocations: 0.7469 MB / 0.6453 GB, free: 4.445 MB / 458.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.001284/0.4807, allocations: 1.23 MB / 0.6465 GB, free: 3.098 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.4811, allocations: 167.7 kB / 0.6467 GB, free: 2.926 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.4812, allocations: 89.48 kB / 0.6468 GB, free: 2.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/0.4835, allocations: 2.703 MB / 0.6494 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.4836, allocations: 34.56 kB / 0.6495 GB, free: 15.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4836, allocations: 4 kB / 0.6495 GB, free: 15.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006008/0.4842, allocations: 216.8 kB / 0.6497 GB, free: 15.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4842, allocations: 51.41 kB / 0.6497 GB, free: 15.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.4844, allocations: 214.5 kB / 0.6499 GB, free: 15.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4844, allocations: 29.7 kB / 0.65 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4846, allocations: 214.8 kB / 0.6502 GB, free: 14.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.4846, allocations: 55.33 kB / 0.6502 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.4846, allocations: 8 kB / 0.6502 GB, free: 14.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4847, allocations: 330.8 kB / 0.6505 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.4848, allocations: 48.83 kB / 0.6506 GB, free: 14.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4851, allocations: 329.1 kB / 0.6509 GB, free: 13.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.4855, allocations: 412.3 kB / 0.6513 GB, free: 13.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4855, allocations: 4 kB / 0.6513 GB, free: 13.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004966/0.486, allocations: 377.1 kB / 0.6517 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.486, allocations: 10.5 kB / 0.6517 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.486, allocations: 8 kB / 0.6517 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.486, allocations: 15.94 kB / 0.6517 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.4865, allocations: 115.8 kB / 0.6518 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.4865, allocations: 16.53 kB / 0.6518 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.4868, allocations: 24 kB / 0.6518 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.4868, allocations: 24 kB / 0.6519 GB, free: 12.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4869, allocations: 153.6 kB / 0.652 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.487, allocations: 19.81 kB / 0.652 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.4873, allocations: 151.7 kB / 0.6522 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.4873, allocations: 0 / 0.6522 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4873, allocations: 0 / 0.6522 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4873, allocations: 3.938 kB / 0.6522 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4878, allocations: 449.4 kB / 0.6526 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4878, allocations: 4.062 kB / 0.6526 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.488, allocations: 27.98 kB / 0.6526 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.488, allocations: 0 / 0.6526 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.488, allocations: 7.984 kB / 0.6526 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.488, allocations: 0 / 0.6526 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.488, allocations: 3.938 kB / 0.6526 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.4882, allocations: 228.8 kB / 0.6529 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.4883, allocations: 108.9 kB / 0.653 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4884, allocations: 0 / 0.653 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4886, allocations: 15.98 kB / 0.653 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.4887, allocations: 7.984 kB / 0.653 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4887, allocations: 7.984 kB / 0.653 GB, free: 11.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4888, allocations: 148.5 kB / 0.6531 GB, free: 11.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4888, allocations: 3.938 kB / 0.6531 GB, free: 11.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.4893, allocations: 95.98 kB / 0.6532 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006812/0.49, allocations: 0.8153 MB / 0.654 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.4903, allocations: 180.1 kB / 0.6542 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4903, allocations: 2 kB / 0.6542 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.4903, allocations: 31.92 kB / 0.6542 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.4908, allocations: 46.61 kB / 0.6543 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.4928, allocations: 1.45 MB / 0.6557 GB, free: 8.535 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4931, allocations: 0.7248 MB / 0.6564 GB, free: 7.785 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.4932, allocations: 63.42 kB / 0.6565 GB, free: 7.723 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4932, allocations: 4 kB / 0.6565 GB, free: 7.719 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.939/3.432, allocations: 3.602 MB / 0.66 GB, free: 4.113 MB / 474.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches