Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2366, allocations: 50.54 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004374/0.241, allocations: 3.681 MB / 412.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2427, allocations: 1.001 MB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.243, allocations: 8 kB / 413.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.2433, allocations: 111.1 kB / 414 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.2437, allocations: 202.3 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2439, allocations: 139.8 kB / 414.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.2446, allocations: 0.6769 MB / 415 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2448, allocations: 194.2 kB / 415.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.2451, allocations: 259 kB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2454, allocations: 294.7 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.2455, allocations: 56 kB / 415.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.2456, allocations: 60 kB / 415.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2457, allocations: 123.6 kB / 416 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.246, allocations: 314.5 kB / 416.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.2466, allocations: 0.6862 MB / 417 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.2466, allocations: 4 kB / 417 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2466, allocations: 4 kB / 417 MB, free: 9.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2466, allocations: 0 / 417 MB, free: 9.75 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.001409/0.248, allocations: 0.8971 MB / 417.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2481, allocations: 8.031 kB / 417.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2482, allocations: 64.28 kB / 418 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.2489, allocations: 426.5 kB / 418.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/0.249, allocations: 62.84 kB / 418.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.249, allocations: 32.38 kB / 418.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.2498, allocations: 489 kB / 419 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2499, allocations: 0 / 419 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2499, allocations: 16 kB / 419 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2499, allocations: 8 kB / 419 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.2507, allocations: 346.4 kB / 419.3 MB, free: 7.281 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.001852/0.2525, allocations: 1.279 MB / 420.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.2532, allocations: 382.5 kB / 421 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.2536, allocations: 176.8 kB / 421.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.2536, allocations: 7.938 kB / 421.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2537, allocations: 46.56 kB / 421.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.2537, allocations: 0 / 421.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001507/0.2552, allocations: 0.7243 MB / 421.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.2554, allocations: 448.9 kB / 422.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.2558, allocations: 454 kB / 422.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.2559, allocations: 37.7 kB / 422.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2561, allocations: 244.4 kB / 423.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.2562, allocations: 118.2 kB / 423.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2563, allocations: 81.47 kB / 423.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2564, allocations: 366.7 kB / 423.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.2568, allocations: 131.9 kB / 423.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.2572, allocations: 286.8 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.2579, allocations: 333.2 kB / 424.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.258, allocations: 0 / 424.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009267/0.2589, allocations: 493.8 kB / 424.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.2589, allocations: 29.7 kB / 424.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2589, allocations: 0 / 424.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.2591, allocations: 53.69 kB / 424.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.2595, allocations: 79.88 kB / 425 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.2618, allocations: 2.961 MB / 428 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.2622, allocations: 55.7 kB / 428 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2622, allocations: 15.92 kB / 428 MB, free: 13.86 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.0001964/0.2625, allocations: 177.7 kB / 428.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.2625, allocations: 51.44 kB / 428.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.2627, allocations: 52.77 kB / 428.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2627, allocations: 4 kB / 428.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2627, allocations: 0 / 428.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009167/0.2636, allocations: 0.7282 MB / 429.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.2651, allocations: 1.013 MB / 430.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2651, allocations: 7.984 kB / 430.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.2656, allocations: 87.88 kB / 430.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2656, allocations: 3.938 kB / 430.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.2656, allocations: 11.94 kB / 430.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2656, allocations: 3.938 kB / 430.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2656, allocations: 0 / 430.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2668, allocations: 0.6596 MB / 430.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.267, allocations: 164.5 kB / 431 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.2671, allocations: 16 kB / 431 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.2674, allocations: 27.97 kB / 431 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.2675, allocations: 23.97 kB / 431.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2675, allocations: 8 kB / 431.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.2679, allocations: 327.1 kB / 431.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2679, allocations: 0 / 431.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.2683, allocations: 135.8 kB / 431.5 MB, free: 10.17 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.0001456/0.2685, allocations: 115.1 kB / 431.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.2696, allocations: 0.6292 MB / 432.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2696, allocations: 4 kB / 432.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.27, allocations: 180.3 kB / 432.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2706, allocations: 145.8 kB / 432.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2722, allocations: 0.9105 MB / 433.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.2726, allocations: 0.8314 MB / 434.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.2729, allocations: 64.34 kB / 434.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.273, allocations: 47.44 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.273, allocations: 0 / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.2878, allocations: 8.929 MB / 443.4 MB, free: 14.37 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches