Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 116.2 kB / 20.43 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 186.3 kB / 23.72 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.91 kB / 370.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 52.18 MB / 423.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005286/0.2331, allocations: 3.711 MB / 426.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2347, allocations: 0.9852 MB / 427.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2348, allocations: 7.938 kB / 427.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.2351, allocations: 107 kB / 427.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.2355, allocations: 202.4 kB / 428.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.2358, allocations: 131.8 kB / 428.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.2366, allocations: 0.6838 MB / 428.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2369, allocations: 134.8 kB / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.2372, allocations: 267 kB / 429.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.2376, allocations: 294.7 kB / 429.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.694e-05/0.2377, allocations: 60 kB / 429.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.2378, allocations: 56 kB / 429.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2379, allocations: 127.6 kB / 429.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.2382, allocations: 306.5 kB / 430.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.239, allocations: 0.7018 MB / 430.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.239, allocations: 0 / 430.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.239, allocations: 0 / 430.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.239, allocations: 0 / 430.8 MB, free: 7.109 MB / 334.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.001667/0.2407, allocations: 0.8449 MB / 431.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2407, allocations: 16.03 kB / 431.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.2409, allocations: 64.56 kB / 431.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.2416, allocations: 369 kB / 432.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.2417, allocations: 58.91 kB / 432.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.2418, allocations: 32.38 kB / 432.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.2427, allocations: 485.1 kB / 432.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2428, allocations: 0 / 432.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.2428, allocations: 16 kB / 432.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2428, allocations: 11.94 kB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.2437, allocations: 342.4 kB / 433.1 MB, free: 4.777 MB / 334.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.002248/0.246, allocations: 1.248 MB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.2467, allocations: 275.3 kB / 434.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.2471, allocations: 168.7 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.2472, allocations: 4.594 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.2472, allocations: 50.5 kB / 434.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2472, allocations: 0 / 434.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001706/0.2489, allocations: 0.5687 MB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002958/0.2492, allocations: 448.9 kB / 435.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.2498, allocations: 454 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.2498, allocations: 37.7 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.25, allocations: 236.7 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2501, allocations: 130.9 kB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2503, allocations: 81.58 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2505, allocations: 366.7 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.2509, allocations: 135.9 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.2514, allocations: 282.8 kB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/0.2523, allocations: 337.1 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2523, allocations: 0 / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001105/0.2534, allocations: 482.1 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2535, allocations: 41.73 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2535, allocations: 0 / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.2537, allocations: 53.62 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.2541, allocations: 83.88 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.2569, allocations: 2.754 MB / 441.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2573, allocations: 51.75 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.2574, allocations: 19.94 kB / 441.3 MB, free: 11.96 MB / 350.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.0002435/0.2576, allocations: 173.8 kB / 441.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.2577, allocations: 55.67 kB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2578, allocations: 52.77 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2578, allocations: 4 kB / 441.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2578, allocations: 0 / 441.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.2589, allocations: 0.7283 MB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.2607, allocations: 0.977 MB / 443.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2607, allocations: 4 kB / 443.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.2612, allocations: 87.86 kB / 443.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2612, allocations: 0 / 443.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2612, allocations: 11.94 kB / 443.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2612, allocations: 0 / 443.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2612, allocations: 0 / 443.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2626, allocations: 0.6487 MB / 444 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.2628, allocations: 99.52 kB / 444.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.2629, allocations: 11.94 kB / 444.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.2633, allocations: 36.02 kB / 444.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.2633, allocations: 23.95 kB / 444.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.2634, allocations: 15.94 kB / 444.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004059/0.2638, allocations: 327.1 kB / 444.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2638, allocations: 3.938 kB / 444.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.2642, allocations: 135.9 kB / 444.7 MB, free: 8.402 MB / 350.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.0001266/0.2643, allocations: 103.5 kB / 444.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.2656, allocations: 0.6374 MB / 445.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2657, allocations: 4 kB / 445.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.2661, allocations: 163.8 kB / 445.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.2668, allocations: 133.4 kB / 445.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2685, allocations: 0.9423 MB / 446.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.2689, allocations: 0.8311 MB / 447.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.2692, allocations: 68.34 kB / 447.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2693, allocations: 39.44 kB / 447.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2693, allocations: 0 / 447.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.01731/0.2866, allocations: 9.202 MB / 456.8 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.824635407887399]