Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.86 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2968, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.161/0.4578, allocations: 152.3 MB / 0.6803 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.4592, allocations: 1.059 MB / 0.6814 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.4593, allocations: 0 / 0.6814 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.4595, allocations: 35.75 kB / 0.6814 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.4603, allocations: 266.6 kB / 0.6817 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.4607, allocations: 122.8 kB / 0.6818 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.461, allocations: 187.2 kB / 0.682 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.461, allocations: 11.94 kB / 0.682 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.4612, allocations: 91.67 kB / 0.6821 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4613, allocations: 63.7 kB / 0.6821 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.4614, allocations: 4 kB / 0.6821 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.4619, allocations: 267.7 kB / 0.6824 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.462, allocations: 19.97 kB / 0.6824 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.462, allocations: 43.8 kB / 0.6824 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.4625, allocations: 289 kB / 0.6827 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4625, allocations: 0 / 0.6827 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.836e-06/0.4625, allocations: 4 kB / 0.6827 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4625, allocations: 4 kB / 0.6827 GB, free: 6.469 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005132/0.4631, allocations: 403.2 kB / 0.6831 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4631, allocations: 12.03 kB / 0.6831 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.4652, allocations: 192.6 kB / 0.6833 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.4656, allocations: 207.6 kB / 0.6835 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4656, allocations: 11.95 kB / 0.6835 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.4657, allocations: 12 kB / 0.6835 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.4662, allocations: 222.2 kB / 0.6837 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4662, allocations: 0 / 0.6837 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.4662, allocations: 4 kB / 0.6837 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4662, allocations: 4 kB / 0.6837 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.4667, allocations: 175.8 kB / 0.6839 GB, free: 5.152 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.001015/0.4677, allocations: 0.5716 MB / 0.6845 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.468, allocations: 138.5 kB / 0.6846 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4682, allocations: 80.75 kB / 0.6847 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4682, allocations: 0 / 0.6847 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4683, allocations: 34.56 kB / 0.6847 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.4683, allocations: 0 / 0.6847 GB, free: 4.254 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005337/0.4736, allocations: 1.311 MB / 0.686 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4737, allocations: 55.41 kB / 0.686 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.4738, allocations: 117.8 kB / 0.6862 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4738, allocations: 29.7 kB / 0.6862 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.4739, allocations: 95.89 kB / 0.6863 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.474, allocations: 71.08 kB / 0.6863 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.4741, allocations: 57.55 kB / 0.6864 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4742, allocations: 322.8 kB / 0.6867 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.4744, allocations: 71.95 kB / 0.6868 GB, free: 2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.4746, allocations: 110.4 kB / 0.6869 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.4749, allocations: 183.3 kB / 0.6871 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4749, allocations: 0 / 0.6871 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004858/0.4754, allocations: 261.6 kB / 0.6873 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4754, allocations: 8 kB / 0.6873 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4754, allocations: 0 / 0.6873 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.4756, allocations: 52.92 kB / 0.6874 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.476, allocations: 47.97 kB / 0.6874 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004202/0.4764, allocations: 0.5679 MB / 0.688 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.4766, allocations: 8 kB / 0.688 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.4766, allocations: 27.98 kB / 0.688 GB, free: 0.6914 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4768, allocations: 125.9 kB / 0.6881 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.4768, allocations: 7.906 kB / 0.6881 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007429/0.4776, allocations: 351.1 kB / 0.6885 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4776, allocations: 0 / 0.6885 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4776, allocations: 0 / 0.6885 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.4776, allocations: 88.92 kB / 0.6885 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.4777, allocations: 0 / 0.6885 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4779, allocations: 15.98 kB / 0.6886 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.478, allocations: 23.92 kB / 0.6886 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008261/0.4788, allocations: 321.6 kB / 0.6889 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006281/0.4794, allocations: 467.4 kB / 0.6893 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000156/0.4796, allocations: 86.94 kB / 0.6894 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.4797, allocations: 87.28 kB / 0.6895 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Backend: time 4.51e-07/0.4797, allocations: 0 / 0.6895 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.4807, allocations: 324.6 kB / 0.6898 GB, free: 14.77 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009068/0.4816, allocations: 0.8654 MB / 0.6907 GB, free: 13.86 MB / 0.545 GB Notification: Performance of Templates: time 0.01066/0.4923, allocations: 6.789 MB / 0.6973 GB, free: 7.059 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches