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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3647, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1477/0.5125, allocations: 136.1 MB / 0.6514 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.5176, allocations: 4.711 MB / 0.656 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.5178, allocations: 0 / 0.656 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.5183, allocations: 67.59 kB / 0.6561 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.5203, allocations: 0.7228 MB / 0.6568 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.5208, allocations: 159.5 kB / 0.6569 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.5214, allocations: 370.2 kB / 0.6573 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.5214, allocations: 17.67 kB / 0.6573 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.5217, allocations: 155.4 kB / 0.6574 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.5219, allocations: 187.4 kB / 0.6576 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.522, allocations: 12 kB / 0.6576 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.5233, allocations: 0.6902 MB / 0.6583 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.5234, allocations: 47.7 kB / 0.6583 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.5236, allocations: 111.5 kB / 0.6585 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.5243, allocations: 461.1 kB / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5243, allocations: 0 / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5243, allocations: 0 / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5244, allocations: 0 / 0.6589 GB, free: 11.8 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.001065/0.5254, allocations: 0.593 MB / 0.6595 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5255, allocations: 12.03 kB / 0.6595 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/0.5256, allocations: 62.72 kB / 0.6595 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.5257, allocations: 28.73 kB / 0.6596 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5261, allocations: 228 kB / 0.6598 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.5262, allocations: 127.9 kB / 0.6599 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.5262, allocations: 24.12 kB / 0.6599 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.5267, allocations: 322.8 kB / 0.6602 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5268, allocations: 3.984 kB / 0.6602 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.5268, allocations: 12 kB / 0.6603 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.5268, allocations: 12 kB / 0.6603 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.5276, allocations: 0.7352 MB / 0.661 GB, free: 9.504 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.001315/0.5289, allocations: 1.222 MB / 0.6622 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.5293, allocations: 175.7 kB / 0.6623 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5295, allocations: 89.48 kB / 0.6624 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.5319, allocations: 2.695 MB / 0.6651 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5319, allocations: 42.56 kB / 0.6651 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.003e-06/0.5319, allocations: 0 / 0.6651 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000721/0.5327, allocations: 220.4 kB / 0.6653 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5327, allocations: 51.41 kB / 0.6654 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.5329, allocations: 215 kB / 0.6656 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5329, allocations: 29.7 kB / 0.6656 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.533, allocations: 218.7 kB / 0.6658 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.5331, allocations: 47.36 kB / 0.6659 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.5332, allocations: 86.03 kB / 0.6659 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5333, allocations: 334.8 kB / 0.6663 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.5334, allocations: 48.84 kB / 0.6663 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.5337, allocations: 335.7 kB / 0.6666 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.5341, allocations: 434.1 kB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5341, allocations: 0 / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005286/0.5346, allocations: 385.6 kB / 0.6674 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5347, allocations: 8 kB / 0.6674 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5347, allocations: 12 kB / 0.6674 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.5347, allocations: 15.94 kB / 0.6674 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.5351, allocations: 115.8 kB / 0.6675 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.5351, allocations: 15.94 kB / 0.6676 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5353, allocations: 23.94 kB / 0.6676 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.5353, allocations: 24 kB / 0.6676 GB, free: 1.746 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0001415/0.5355, allocations: 157.7 kB / 0.6678 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.5355, allocations: 19.81 kB / 0.6678 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.5359, allocations: 155.7 kB / 0.6679 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5359, allocations: 0 / 0.6679 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5359, allocations: 0 / 0.6679 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5359, allocations: 4 kB / 0.6679 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.5365, allocations: 440 kB / 0.6683 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5365, allocations: 0 / 0.6683 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.5366, allocations: 27.98 kB / 0.6684 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5367, allocations: 0 / 0.6684 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5367, allocations: 4 kB / 0.6684 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5367, allocations: 3.984 kB / 0.6684 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5367, allocations: 3.938 kB / 0.6684 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.537, allocations: 229 kB / 0.6686 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5371, allocations: 100.9 kB / 0.6687 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.5371, allocations: 3.938 kB / 0.6687 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.5373, allocations: 15.98 kB / 0.6687 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.5374, allocations: 15.98 kB / 0.6687 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5374, allocations: 4 kB / 0.6687 GB, free: 468 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001321/0.5375, allocations: 148.5 kB / 0.6689 GB, free: 320 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5375, allocations: 0 / 0.6689 GB, free: 320 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005588/0.5381, allocations: 99.92 kB / 0.669 GB, free: 220 kB / 0.5137 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.0008742/0.539, allocations: 0.8111 MB / 0.6698 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.5393, allocations: 186.2 kB / 0.6699 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5393, allocations: 4.062 kB / 0.67 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.5394, allocations: 35.92 kB / 0.67 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.5399, allocations: 47.36 kB / 0.67 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.5429, allocations: 2.707 MB / 0.6727 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.5433, allocations: 0.7283 MB / 0.6734 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.5435, allocations: 58.81 kB / 0.6734 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5436, allocations: 63.41 kB / 0.6735 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 2.355e-06/0.5436, allocations: 0 / 0.6735 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.5688, allocations: 5.35 MB / 0.6787 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/8.057, allocations: 4.062 kB / 0.6787 GB, free: 5.922 MB / 0.5294 GB (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 --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) 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) Reference file matches