Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 202.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 207.6 MB / 236 MB, free: 9.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 51.92 kB / 348.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2512, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03996/0.2912, allocations: 37.91 MB / 435.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006983/0.2982, allocations: 4.616 MB / 440.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.2987, allocations: 8.75 kB / 440.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2998, allocations: 302.7 kB / 440.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3014, allocations: 494 kB / 440.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006426/0.3078, allocations: 1.652 MB / 442.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.3101, allocations: 1.296 MB / 443.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.3105, allocations: 119 kB / 444 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3116, allocations: 494.4 kB / 444.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.3124, allocations: 430.3 kB / 444.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3125, allocations: 44 kB / 444.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.3151, allocations: 0.7649 MB / 445.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.3153, allocations: 139.5 kB / 445.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.3157, allocations: 282.9 kB / 446.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.3179, allocations: 1.049 MB / 447.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3179, allocations: 0 / 447.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3179, allocations: 0 / 447.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3179, allocations: 0 / 447.2 MB, free: 1.719 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001358/0.3193, allocations: 0.7152 MB / 447.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3193, allocations: 15.98 kB / 447.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/0.32, allocations: 80.62 kB / 448 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.3206, allocations: 277.8 kB / 448.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.3206, allocations: 29.38 kB / 448.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.3207, allocations: 44.33 kB / 448.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.3214, allocations: 475.6 kB / 448.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.3215, allocations: 4.047 kB / 448.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.3215, allocations: 16 kB / 448.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3215, allocations: 12 kB / 448.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.3221, allocations: 311.5 kB / 449.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.3359, allocations: 5.476 MB / 454.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.3364, allocations: 258.5 kB / 454.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.3367, allocations: 145.3 kB / 455 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.3468, allocations: 2.684 MB / 457.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.3468, allocations: 38.56 kB / 457.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.3468, allocations: 0 / 457.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.0118/0.3586, allocations: 2.3 MB / 460 MB, free: 4.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3587, allocations: 59.41 kB / 460.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.3591, allocations: 304.5 kB / 460.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3591, allocations: 37.7 kB / 460.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3593, allocations: 228.5 kB / 460.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3595, allocations: 166.6 kB / 460.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3596, allocations: 98.28 kB / 460.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3598, allocations: 346.8 kB / 461.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3601, allocations: 153.2 kB / 461.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.3605, allocations: 280.6 kB / 461.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.3612, allocations: 476.3 kB / 462.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3612, allocations: 0 / 462.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001138/0.3623, allocations: 0.5879 MB / 462.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3624, allocations: 12.39 kB / 462.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3624, allocations: 8 kB / 462.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008849/0.3712, allocations: 1.843 MB / 464.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.3719, allocations: 107.8 kB / 464.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.3747, allocations: 2.466 MB / 467.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.3751, allocations: 12 kB / 467.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.3751, allocations: 27.98 kB / 467.2 MB, free: 12.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.3754, allocations: 173.6 kB / 467.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.3755, allocations: 43.7 kB / 467.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3768, allocations: 0.8727 MB / 468.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3768, allocations: 7.984 kB / 468.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3768, allocations: 4 kB / 468.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.378, allocations: 0.9785 MB / 469.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3803, allocations: 1.483 MB / 470.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3803, allocations: 0 / 470.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.3806, allocations: 83.92 kB / 470.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003531/0.3842, allocations: 0.6179 MB / 471.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.3842, allocations: 19.92 kB / 471.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.3854, allocations: 1.288 MB / 472.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3854, allocations: 3.984 kB / 472.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3872, allocations: 1.25 MB / 474 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3873, allocations: 43.66 kB / 474 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.3873, allocations: 12.03 kB / 474 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3876, allocations: 11.94 kB / 474.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3876, allocations: 27.95 kB / 474.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.3877, allocations: 19.98 kB / 474.1 MB, free: 5.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.388, allocations: 215.1 kB / 474.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 474.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008273/0.3888, allocations: 231.7 kB / 474.5 MB, free: 5.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006099/0.3894, allocations: 275.8 kB / 474.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.3908, allocations: 0.6992 MB / 475.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3908, allocations: 0 / 475.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.3918, allocations: 420.2 kB / 475.9 MB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.393, allocations: 244.5 kB / 476.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3952, allocations: 1.271 MB / 477.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.3958, allocations: 0.8401 MB / 478.3 MB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3959, allocations: 43.44 kB / 478.3 MB, free: 1.445 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3959, allocations: 0 / 478.3 MB, free: 1.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01961/0.4155, allocations: 13.04 MB / 491.3 MB, free: 4.383 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.803182270145044]