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.001386/0.001386, allocations: 112.2 kB / 21.94 MB, free: 12 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.001504/0.001504, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.397/1.397, allocations: 207.6 MB / 236 MB, free: 10.87 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.001924/0.001924, allocations: 59.89 kB / 348.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 49.15 MB / 397.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004545/0.2633, allocations: 3.696 MB / 401.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2652, allocations: 1.027 MB / 402.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.2655, allocations: 14.19 kB / 402.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.2659, allocations: 108.5 kB / 402.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.2664, allocations: 209.2 kB / 402.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2668, allocations: 124.1 kB / 402.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000827/0.2676, allocations: 0.6814 MB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.2678, allocations: 131.3 kB / 403.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.2682, allocations: 271.5 kB / 403.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.2685, allocations: 293.6 kB / 404.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.2686, allocations: 57.91 kB / 404.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2688, allocations: 58.06 kB / 404.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2689, allocations: 131.2 kB / 404.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.2691, allocations: 312 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.2699, allocations: 0.6916 MB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2699, allocations: 0.75 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2699, allocations: 0 / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2699, allocations: 1.562 kB / 405.4 MB, free: 4.625 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.001488/0.2714, allocations: 0.8341 MB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2714, allocations: 12.7 kB / 406.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2715, allocations: 75.7 kB / 406.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.2722, allocations: 370.3 kB / 406.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.2723, allocations: 110.2 kB / 406.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.2724, allocations: 34.2 kB / 406.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.2732, allocations: 495.6 kB / 407.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2732, allocations: 0.7031 kB / 407.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.2732, allocations: 16.03 kB / 407.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2732, allocations: 7.531 kB / 407.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.274, allocations: 335 kB / 407.6 MB, free: 3.191 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.002002/0.276, allocations: 1.242 MB / 408.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.2767, allocations: 284.8 kB / 409.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.277, allocations: 162.3 kB / 409.3 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.2771, allocations: 9.641 kB / 409.3 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2771, allocations: 39.55 kB / 409.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.2771, allocations: 0 / 409.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001439/0.2785, allocations: 0.5755 MB / 409.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.2786, allocations: 448.5 kB / 410.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.2791, allocations: 453.1 kB / 410.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2792, allocations: 34.14 kB / 410.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2793, allocations: 252.9 kB / 411.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.2794, allocations: 127.4 kB / 411.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2795, allocations: 76.28 kB / 411.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.2796, allocations: 360.7 kB / 411.6 MB, free: 472 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.2799, allocations: 142.2 kB / 411.8 MB, free: 424 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.2803, allocations: 285 kB / 412 MB, free: 188 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.281, allocations: 332.8 kB / 412.4 MB, free: 0 / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.281, allocations: 0 / 412.4 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00125/0.2822, allocations: 489.9 kB / 412.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.2823, allocations: 35.47 kB / 412.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2823, allocations: 5.219 kB / 412.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.2825, allocations: 52.5 kB / 412.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.2829, allocations: 84.97 kB / 413 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2856, allocations: 2.754 MB / 415.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.2861, allocations: 52.44 kB / 415.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.2861, allocations: 16.97 kB / 415.8 MB, free: 12.83 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.0002732/0.2864, allocations: 172.6 kB / 416 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.2865, allocations: 58.3 kB / 416.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2866, allocations: 57.14 kB / 416.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2866, allocations: 3.438 kB / 416.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2866, allocations: 1.188 kB / 416.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.2877, allocations: 0.7283 MB / 416.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.2894, allocations: 0.9873 MB / 417.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2894, allocations: 0 / 417.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.2899, allocations: 93.69 kB / 417.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2899, allocations: 1.125 kB / 417.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.2899, allocations: 10.19 kB / 417.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2899, allocations: 5.094 kB / 418 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2899, allocations: 1.125 kB / 418 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2913, allocations: 0.6441 MB / 418.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.2915, allocations: 90.31 kB / 418.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.2916, allocations: 15.16 kB / 418.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.292, allocations: 25.78 kB / 418.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.292, allocations: 36.02 kB / 418.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.2921, allocations: 10.56 kB / 418.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004261/0.2925, allocations: 323 kB / 419.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 0 / 419.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.293, allocations: 144.3 kB / 419.2 MB, free: 10.41 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.0001383/0.2932, allocations: 103 kB / 419.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2945, allocations: 0.619 MB / 419.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2945, allocations: 0.9375 kB / 419.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.2949, allocations: 168.3 kB / 420.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.2956, allocations: 148 kB / 420.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.2976, allocations: 0.9776 MB / 421.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.2981, allocations: 0.8285 MB / 422.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2983, allocations: 41.31 kB / 422.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2983, allocations: 1.156 kB / 422.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Templates: time 0.01551/0.3138, allocations: 8.961 MB / 431.1 MB, free: 0.9023 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: 7.991633864119649]