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.002168/0.002168, allocations: 107.6 kB / 21.18 MB, free: 452 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.002423/0.002423, allocations: 215 kB / 24.47 MB, free: 3.777 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.449/1.449, allocations: 207.7 MB / 235.3 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.002817/0.002817, allocations: 59.05 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3386, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005022/0.3436, allocations: 3.346 MB / 400.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3452, allocations: 0.9816 MB / 401.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.3454, allocations: 9 kB / 401.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3457, allocations: 109.4 kB / 401.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.3461, allocations: 197.4 kB / 401.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3463, allocations: 132.8 kB / 401.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.3471, allocations: 0.6853 MB / 402.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3474, allocations: 123.4 kB / 402.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.3477, allocations: 262.7 kB / 402.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.3481, allocations: 254.6 kB / 402.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3482, allocations: 60.31 kB / 403 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3483, allocations: 58.34 kB / 403 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3484, allocations: 130 kB / 403.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.3487, allocations: 252.7 kB / 403.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008586/0.3496, allocations: 0.704 MB / 404.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3496, allocations: 0 / 404.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3496, allocations: 4 kB / 404.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.3496, allocations: 0.5625 kB / 404.1 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.001567/0.3511, allocations: 0.8352 MB / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3512, allocations: 13.64 kB / 405 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.3513, allocations: 71.12 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.3521, allocations: 369.9 kB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3522, allocations: 112 kB / 405.5 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.3523, allocations: 34.19 kB / 405.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.3532, allocations: 0.8608 MB / 406.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3532, allocations: 4.609 kB / 406.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.3533, allocations: 13.5 kB / 406.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3533, allocations: 6.875 kB / 406.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.3541, allocations: 335.6 kB / 406.7 MB, free: 3.105 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.001815/0.3559, allocations: 0.9472 MB / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.3566, allocations: 275.3 kB / 408 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.357, allocations: 175 kB / 408.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.357, allocations: 10 kB / 408.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.357, allocations: 39.3 kB / 408.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.357, allocations: 0 / 408.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001485/0.3585, allocations: 0.567 MB / 408.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.3586, allocations: 449 kB / 409.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.3591, allocations: 424 kB / 409.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3592, allocations: 37.92 kB / 409.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3593, allocations: 251.6 kB / 409.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.3594, allocations: 127.4 kB / 410 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.3595, allocations: 76.53 kB / 410.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.3596, allocations: 358.9 kB / 410.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.36, allocations: 163.4 kB / 410.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.3606, allocations: 0.6837 MB / 411.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.3614, allocations: 339.1 kB / 411.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3614, allocations: 0 / 411.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001143/0.3626, allocations: 0.5076 MB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.3626, allocations: 31.33 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3626, allocations: 1.188 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.3628, allocations: 52.69 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3633, allocations: 80.38 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.3661, allocations: 2.705 MB / 415 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.3667, allocations: 47.11 kB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.3667, allocations: 13.52 kB / 415 MB, free: 12.58 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.000288/0.367, allocations: 172.9 kB / 415.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3671, allocations: 60.81 kB / 415.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.3672, allocations: 47.89 kB / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3672, allocations: 3.594 kB / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3672, allocations: 0 / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.3683, allocations: 0.7207 MB / 416 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.37, allocations: 0.8629 MB / 416.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.37, allocations: 0.875 kB / 416.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.3705, allocations: 84.78 kB / 417 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3705, allocations: 1.219 kB / 417 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3705, allocations: 14.23 kB / 417 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3705, allocations: 10.25 kB / 417 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3705, allocations: 0 / 417 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3719, allocations: 0.6468 MB / 417.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3721, allocations: 93.95 kB / 417.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3722, allocations: 16.16 kB / 417.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.3725, allocations: 25.94 kB / 417.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.3726, allocations: 27.81 kB / 417.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.3727, allocations: 11.16 kB / 417.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004447/0.3731, allocations: 308.1 kB / 418.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3731, allocations: 0 / 418.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.3736, allocations: 135.1 kB / 418.3 MB, free: 10.3 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.0001651/0.3738, allocations: 107.1 kB / 418.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3753, allocations: 0.6486 MB / 419 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3753, allocations: 2.312 kB / 419 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.3757, allocations: 168.3 kB / 419.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.3764, allocations: 135.6 kB / 419.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3783, allocations: 0.9299 MB / 420.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3786, allocations: 227 kB / 420.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.3788, allocations: 59.58 kB / 420.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.379, allocations: 43.06 kB / 420.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.379, allocations: 4 kB / 420.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of Templates: time 0.01846/0.3974, allocations: 9.99 MB / 430.6 MB, free: 340 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 5.166807137429714]