Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001555, allocations: 110.6 kB / 18.45 MB, free: 4.621 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.001709/0.001709, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.278/1.278, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1988/0.1988, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.377, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.174/0.551, allocations: 147.6 MB / 0.6637 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008599/0.5597, allocations: 5.583 MB / 0.6691 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5608, allocations: 19.88 kB / 0.6692 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.5621, allocations: 333.9 kB / 0.6695 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.565, allocations: 0.8512 MB / 0.6703 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.5682, allocations: 1.024 MB / 0.6713 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002826/0.5711, allocations: 1.798 MB / 0.6731 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5721, allocations: 477.1 kB / 0.6735 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.574, allocations: 0.7591 MB / 0.6743 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.5755, allocations: 0.7047 MB / 0.675 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.5758, allocations: 60 kB / 0.675 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5775, allocations: 0.542 MB / 0.6755 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.578, allocations: 267.2 kB / 0.6758 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.5788, allocations: 398.2 kB / 0.6762 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.5809, allocations: 1.139 MB / 0.6773 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5809, allocations: 0 / 0.6773 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.581, allocations: 3.938 kB / 0.6773 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.792e-05/0.581, allocations: 0 / 0.6773 GB, free: 9.988 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002827/0.5838, allocations: 1.056 MB / 0.6783 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5839, allocations: 12.03 kB / 0.6783 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.5844, allocations: 88.08 kB / 0.6784 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5855, allocations: 0.5366 MB / 0.6789 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.5856, allocations: 101 kB / 0.679 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.5857, allocations: 52.36 kB / 0.6791 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.5872, allocations: 0.8071 MB / 0.6799 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5872, allocations: 3.938 kB / 0.6799 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.5873, allocations: 31.98 kB / 0.6799 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.5874, allocations: 40.97 kB / 0.6799 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5885, allocations: 0.6478 MB / 0.6806 GB, free: 6.449 MB / 0.5294 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.00491/0.5934, allocations: 3.967 MB / 0.6845 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/0.5942, allocations: 420.3 kB / 0.6849 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.5946, allocations: 205.4 kB / 0.6851 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.5952, allocations: 0.7288 MB / 0.6858 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5952, allocations: 42.89 kB / 0.6858 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/0.5952, allocations: 0 / 0.6858 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003389/0.5986, allocations: 1.549 MB / 0.6873 GB, free: 15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.5987, allocations: 136.5 kB / 0.6874 GB, free: 14.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.5995, allocations: 0.577 MB / 0.688 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.5996, allocations: 29.7 kB / 0.688 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.5999, allocations: 354.9 kB / 0.6884 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.6, allocations: 161.7 kB / 0.6885 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.6002, allocations: 138.5 kB / 0.6887 GB, free: 13.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6004, allocations: 378.8 kB / 0.689 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.6008, allocations: 213.9 kB / 0.6892 GB, free: 12.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.6014, allocations: 0.524 MB / 0.6897 GB, free: 12.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6024, allocations: 0.7562 MB / 0.6905 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6025, allocations: 0 / 0.6905 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.6042, allocations: 0.9141 MB / 0.6914 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.6042, allocations: 11.94 kB / 0.6914 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.6042, allocations: 8 kB / 0.6914 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.6057, allocations: 292.6 kB / 0.6917 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.6061, allocations: 123.8 kB / 0.6918 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6072, allocations: 0.8825 MB / 0.6927 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.6078, allocations: 36.05 kB / 0.6927 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.6079, allocations: 39.98 kB / 0.6927 GB, free: 9.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.6084, allocations: 249.5 kB / 0.693 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.6086, allocations: 63.25 kB / 0.693 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6099, allocations: 0.7676 MB / 0.6938 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.61, allocations: 4 kB / 0.6938 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.61, allocations: 0 / 0.6938 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.61, allocations: 7.922 kB / 0.6938 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.6123, allocations: 1.413 MB / 0.6952 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6123, allocations: 0 / 0.6952 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.6133, allocations: 204 kB / 0.6954 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.6134, allocations: 24.84 kB / 0.6954 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.6135, allocations: 8 kB / 0.6954 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.6159, allocations: 2.881 MB / 0.6982 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6159, allocations: 4.031 kB / 0.6982 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6175, allocations: 1.009 MB / 0.6992 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.6179, allocations: 204.2 kB / 0.6994 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6181, allocations: 20.05 kB / 0.6994 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.6186, allocations: 12 kB / 0.6994 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.6187, allocations: 47.61 kB / 0.6995 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.6187, allocations: 23.98 kB / 0.6995 GB, free: 1.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005871/0.6193, allocations: 431 kB / 0.6999 GB, free: 1.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6193, allocations: 0 / 0.6999 GB, free: 1.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008869/0.6202, allocations: 216 kB / 0.7001 GB, free: 1.051 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006253/0.6209, allocations: 270 kB / 0.7004 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.6221, allocations: 0.5978 MB / 0.7009 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6222, allocations: 1.438 kB / 0.7009 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6232, allocations: 450.9 kB / 0.7014 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6249, allocations: 375.3 kB / 0.7017 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.6273, allocations: 1.412 MB / 0.7031 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.6278, allocations: 0.9385 MB / 0.704 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.628, allocations: 67.42 kB / 0.7041 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.628, allocations: 0 / 0.7041 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.3099/0.9379, allocations: 15.98 MB / 0.7197 GB, free: 186.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches