Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001838/0.001838, allocations: 108.8 kB / 21.93 MB, free: 5.223 MB / 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.002391/0.002391, allocations: 214 kB / 25.23 MB, free: 3.027 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.464/1.464, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [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.001994/0.001994, allocations: 63.86 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004669/0.3129, allocations: 3.342 MB / 400.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3147, allocations: 0.9741 MB / 401.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.315, allocations: 9.062 kB / 401.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3153, allocations: 104.7 kB / 402 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.3157, allocations: 203.5 kB / 402.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.316, allocations: 131.9 kB / 402.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.3167, allocations: 0.6846 MB / 403 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.3169, allocations: 126.9 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.3172, allocations: 263.7 kB / 403.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3176, allocations: 258 kB / 403.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3177, allocations: 56.97 kB / 403.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3178, allocations: 57.94 kB / 403.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3179, allocations: 125.7 kB / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.3182, allocations: 256.4 kB / 404.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008082/0.319, allocations: 0.7049 MB / 404.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.319, allocations: 0 / 404.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.319, allocations: 0 / 404.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.319, allocations: 7.938 kB / 404.9 MB, free: 5.004 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001607/0.3206, allocations: 0.8314 MB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3207, allocations: 21.7 kB / 405.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3208, allocations: 66.88 kB / 405.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.3216, allocations: 375.6 kB / 406.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3217, allocations: 110 kB / 406.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.3218, allocations: 30.09 kB / 406.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.3227, allocations: 0.8623 MB / 407.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3227, allocations: 0 / 407.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.3227, allocations: 12.12 kB / 407.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3227, allocations: 8.25 kB / 407.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.3235, allocations: 336 kB / 407.5 MB, free: 3.109 MB / 318.1 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.001823/0.3254, allocations: 0.9509 MB / 408.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.326, allocations: 271.5 kB / 408.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.3264, allocations: 174.7 kB / 408.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3264, allocations: 6.578 kB / 408.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3264, allocations: 39.44 kB / 408.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.3264, allocations: 0 / 408.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001508/0.3279, allocations: 0.5699 MB / 409.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.328, allocations: 445.6 kB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.3285, allocations: 424.6 kB / 410.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.3286, allocations: 40.8 kB / 410.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3288, allocations: 251.3 kB / 410.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.3288, allocations: 127 kB / 410.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.329, allocations: 72.94 kB / 410.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.329, allocations: 363.4 kB / 411.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.3294, allocations: 163.8 kB / 411.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.33, allocations: 0.6839 MB / 412 MB, free: 15.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007731/0.3308, allocations: 334.7 kB / 412.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3308, allocations: 0 / 412.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00107/0.3319, allocations: 0.5004 MB / 412.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.3319, allocations: 39.09 kB / 412.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3319, allocations: 1.281 kB / 412.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.3321, allocations: 51.86 kB / 413 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.3325, allocations: 77.75 kB / 413 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.3353, allocations: 2.708 MB / 415.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.3359, allocations: 48.73 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3359, allocations: 11.81 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003097/0.3362, allocations: 173 kB / 416 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3363, allocations: 48.75 kB / 416 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.3364, allocations: 55.84 kB / 416.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3364, allocations: 3.469 kB / 416.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3365, allocations: 5.031 kB / 416.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.3376, allocations: 0.724 MB / 416.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3393, allocations: 0.8674 MB / 417.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3393, allocations: 0 / 417.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.3397, allocations: 80.81 kB / 417.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3397, allocations: 2.25 kB / 417.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3398, allocations: 10.16 kB / 417.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3398, allocations: 5.156 kB / 417.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3398, allocations: 0 / 417.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3412, allocations: 0.6436 MB / 418.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3414, allocations: 90.3 kB / 418.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.3415, allocations: 15.06 kB / 418.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.3419, allocations: 26.53 kB / 418.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.342, allocations: 35.55 kB / 418.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.342, allocations: 11.16 kB / 418.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.3424, allocations: 307.7 kB / 418.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3424, allocations: 0 / 418.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.3429, allocations: 136 kB / 419 MB, free: 10.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * 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.0001567/0.3431, allocations: 103.1 kB / 419.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3445, allocations: 0.6489 MB / 419.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3445, allocations: 5.094 kB / 419.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.3449, allocations: 168.3 kB / 419.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.3456, allocations: 148.6 kB / 420.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3475, allocations: 0.9584 MB / 421 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3477, allocations: 228.5 kB / 421.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3479, allocations: 42.94 kB / 421.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3479, allocations: 1.375 kB / 421.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01575/0.3636, allocations: 8.98 MB / 430.3 MB, free: 1.363 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 8.146850865799934]