Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008107/0.0008107, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003337/0.003337, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8581/0.8581, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.969e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003058/0.003077, allocations: 3.382 MB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004102, allocations: 0.9696 MB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.004241, allocations: 15.88 kB / 330.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.00449, allocations: 103.1 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.004746, allocations: 210.2 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.004931, allocations: 135.7 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.005389, allocations: 0.7155 MB / 331.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.005557, allocations: 123.5 kB / 331.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.005813, allocations: 391.2 kB / 331.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005998, allocations: 215.4 kB / 332 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.00605, allocations: 56 kB / 332.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.0061, allocations: 60 kB / 332.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.006163, allocations: 127.5 kB / 332.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.006293, allocations: 223.5 kB / 332.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.006757, allocations: 0.7126 MB / 333.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00676, allocations: 0 / 333.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00676, allocations: 3.938 kB / 333.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.006766, allocations: 4 kB / 333.2 MB, free: 8.008 MB / 298.7 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.0009048/0.007671, allocations: 0.8255 MB / 334.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.007701, allocations: 12.03 kB / 334.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.007781, allocations: 72.52 kB / 334.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.008219, allocations: 364.3 kB / 334.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.008299, allocations: 114.3 kB / 334.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.008346, allocations: 28.38 kB / 334.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.008934, allocations: 0.8584 MB / 335.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.008947, allocations: 192 / 335.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.008974, allocations: 20.06 kB / 335.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.008981, allocations: 8 kB / 335.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.009433, allocations: 334.4 kB / 335.8 MB, free: 5.16 MB / 298.7 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.001377/0.01081, allocations: 0.9557 MB / 336.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.01119, allocations: 282 kB / 337.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.01141, allocations: 168.8 kB / 337.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.01143, allocations: 11.94 kB / 337.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01145, allocations: 42.5 kB / 337.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.262e-06/0.01146, allocations: 3.938 kB / 337.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008576/0.01231, allocations: 0.5679 MB / 337.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.01243, allocations: 445 kB / 338.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.01273, allocations: 426 kB / 338.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01276, allocations: 37.7 kB / 338.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01287, allocations: 244.5 kB / 339 MB, free: 1.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.01293, allocations: 130.8 kB / 339.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.01301, allocations: 73.69 kB / 339.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.0131, allocations: 358.8 kB / 339.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.01331, allocations: 169.5 kB / 339.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.01367, allocations: 0.6749 MB / 340.4 MB, free: 252 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.01408, allocations: 333.3 kB / 340.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01408, allocations: 3.938 kB / 340.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005483/0.01463, allocations: 0.5075 MB / 341.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.01465, allocations: 37.73 kB / 341.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01466, allocations: 0 / 341.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.01477, allocations: 53.64 kB / 341.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.01497, allocations: 79.88 kB / 341.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.01661, allocations: 2.708 MB / 344.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.01679, allocations: 43.84 kB / 344.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.01681, allocations: 12 kB / 344.1 MB, free: 12.22 MB / 314.7 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.0001285/0.01694, allocations: 169.8 kB / 344.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.01699, allocations: 55.61 kB / 344.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.01704, allocations: 56.56 kB / 344.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01704, allocations: 4 kB / 344.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01705, allocations: 0 / 344.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005229/0.01757, allocations: 0.7232 MB / 345.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.01843, allocations: 0.8603 MB / 346 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01843, allocations: 0 / 346 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.01864, allocations: 83.88 kB / 346.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01864, allocations: 240 / 346.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01866, allocations: 15.98 kB / 346.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01866, allocations: 4 kB / 346.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01866, allocations: 0 / 346.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.01935, allocations: 0.6528 MB / 346.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.01946, allocations: 83.62 kB / 346.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.01949, allocations: 16.06 kB / 346.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.01966, allocations: 27.97 kB / 346.9 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.0197, allocations: 27.89 kB / 346.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.01972, allocations: 12 kB / 346.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.01992, allocations: 303.1 kB / 347.2 MB, free: 8.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01992, allocations: 0 / 347.2 MB, free: 8.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.02018, allocations: 139.8 kB / 347.4 MB, free: 8.836 MB / 314.7 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 8.893e-05/0.02027, allocations: 103.2 kB / 347.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.02095, allocations: 0.6504 MB / 348.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02095, allocations: 0 / 348.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.02116, allocations: 163.8 kB / 348.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.02155, allocations: 145.4 kB / 348.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.02253, allocations: 0.8841 MB / 349.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.02266, allocations: 224.5 kB / 349.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.02275, allocations: 44.5 kB / 349.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02275, allocations: 4 kB / 349.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of Templates: time 0.007337/0.03009, allocations: 8.998 MB / 358.6 MB, free: 13.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.468247579410672]