Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 75.81 kB / 368.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2384, allocations: 53.3 MB / 422.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005223/0.2437, allocations: 3.701 MB / 425.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2457, allocations: 1.016 MB / 427 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.2461, allocations: 11.94 kB / 427 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.2466, allocations: 107.1 kB / 427.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.2472, allocations: 202.3 kB / 427.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.2476, allocations: 131.8 kB / 427.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2486, allocations: 0.6847 MB / 428.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.2488, allocations: 122.3 kB / 428.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.2492, allocations: 263 kB / 428.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.2497, allocations: 298.7 kB / 428.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2498, allocations: 56 kB / 428.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2499, allocations: 56 kB / 428.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.25, allocations: 123.6 kB / 429 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.2504, allocations: 314.5 kB / 429.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.2512, allocations: 0.6998 MB / 430 MB, free: 80 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2512, allocations: 0 / 430 MB, free: 80 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2512, allocations: 0 / 430 MB, free: 80 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.2512, allocations: 0 / 430 MB, free: 80 kB / 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.001795/0.253, allocations: 0.9114 MB / 430.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.253, allocations: 12.03 kB / 430.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.2532, allocations: 68.52 kB / 431 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.254, allocations: 434.9 kB / 431.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.2541, allocations: 62.91 kB / 431.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.2541, allocations: 28.38 kB / 431.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.255, allocations: 485 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2551, allocations: 3.953 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.2551, allocations: 20 kB / 432 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.2551, allocations: 12 kB / 432 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.2559, allocations: 334.4 kB / 432.3 MB, free: 13.59 MB / 350.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.002099/0.258, allocations: 1.279 MB / 433.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.2588, allocations: 352.4 kB / 434 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.2592, allocations: 168.8 kB / 434.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.2592, allocations: 7.984 kB / 434.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2592, allocations: 46.44 kB / 434.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.2592, allocations: 0 / 434.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001646/0.2609, allocations: 0.7244 MB / 434.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.2611, allocations: 448.9 kB / 435.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.2617, allocations: 454 kB / 435.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.2617, allocations: 33.7 kB / 435.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.262, allocations: 252.5 kB / 436.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2621, allocations: 130.8 kB / 436.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2622, allocations: 81.47 kB / 436.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2624, allocations: 362.7 kB / 436.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.2628, allocations: 135.9 kB / 436.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.2633, allocations: 274.8 kB / 437 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.2641, allocations: 337.2 kB / 437.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2641, allocations: 0 / 437.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001091/0.2652, allocations: 490.1 kB / 437.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.2653, allocations: 37.64 kB / 437.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2653, allocations: 0 / 437.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2654, allocations: 53.69 kB / 437.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.2659, allocations: 87.91 kB / 438 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.2686, allocations: 2.957 MB / 441 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.269, allocations: 51.8 kB / 441 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.2691, allocations: 19.92 kB / 441 MB, free: 4.191 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.0002392/0.2693, allocations: 173.8 kB / 441.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2694, allocations: 51.67 kB / 441.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2695, allocations: 52.77 kB / 441.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2695, allocations: 4 kB / 441.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2695, allocations: 0 / 441.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.2705, allocations: 0.732 MB / 442 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2723, allocations: 1.009 MB / 443.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2723, allocations: 0 / 443.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.2728, allocations: 92.11 kB / 443.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2728, allocations: 0 / 443.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2728, allocations: 7.938 kB / 443.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.2728, allocations: 12 kB / 443.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2728, allocations: 3.938 kB / 443.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2741, allocations: 0.6522 MB / 443.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.2743, allocations: 168.6 kB / 444 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.2744, allocations: 11.94 kB / 444 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.2748, allocations: 31.97 kB / 444 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.2749, allocations: 19.97 kB / 444 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.2749, allocations: 8 kB / 444.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.2753, allocations: 327.1 kB / 444.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2753, allocations: 4.062 kB / 444.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.2758, allocations: 143.8 kB / 444.5 MB, free: 0.5 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.0001497/0.2759, allocations: 111.2 kB / 444.6 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.2773, allocations: 0.6136 MB / 445.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2773, allocations: 0 / 445.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.2777, allocations: 168.2 kB / 445.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.2784, allocations: 141.9 kB / 445.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2802, allocations: 0.9433 MB / 446.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.2807, allocations: 0.8236 MB / 447.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.2809, allocations: 60.36 kB / 447.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2811, allocations: 43.42 kB / 447.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2811, allocations: 4 kB / 447.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01839/0.2995, allocations: 9.088 MB / 456.5 MB, free: 4.566 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches