Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.007245/0.007245, allocations: 114 kB / 21.97 MB, free: 5.227 MB / 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.001299/0.001299, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.283/1.283, allocations: 207.6 MB / 236.1 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [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.001658/0.001658, allocations: 59.92 kB / 348 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2296, allocations: 49.15 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004899/0.2345, allocations: 4.97 MB / 402.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2363, allocations: 1.342 MB / 403.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.2365, allocations: 16.84 kB / 403.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.2369, allocations: 159.1 kB / 403.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.2374, allocations: 328.2 kB / 403.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.2378, allocations: 226.2 kB / 404.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009888/0.2388, allocations: 1.156 MB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.2391, allocations: 227 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.2395, allocations: 453.5 kB / 406 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.24, allocations: 0.4985 MB / 406.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.2401, allocations: 101.4 kB / 406.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2402, allocations: 105.1 kB / 406.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.2404, allocations: 227 kB / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.2408, allocations: 0.5126 MB / 407.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2418, allocations: 1.188 MB / 408.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2418, allocations: 0 / 408.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2418, allocations: 0 / 408.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2418, allocations: 5.312 kB / 408.6 MB, free: 1.871 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001923/0.2437, allocations: 1.266 MB / 409.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2438, allocations: 13.58 kB / 409.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.43e-05/0.2438, allocations: 23.44 kB / 409.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.244, allocations: 131.8 kB / 410 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2441, allocations: 117.2 kB / 410.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.2448, allocations: 0.4928 MB / 410.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.245, allocations: 304.4 kB / 410.9 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.2451, allocations: 77.72 kB / 411 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2464, allocations: 0.8752 MB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2464, allocations: 1.406 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.2465, allocations: 33.59 kB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.2465, allocations: 19.31 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2477, allocations: 0.5796 MB / 412.5 MB, free: 15.31 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.003573/0.2513, allocations: 2.199 MB / 414.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2529, allocations: 0.7332 MB / 415.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.2536, allocations: 377.4 kB / 415.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.2536, allocations: 15.53 kB / 415.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.2537, allocations: 55.64 kB / 415.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 1.874e-06/0.2537, allocations: 4 kB / 415.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.0144/0.2681, allocations: 5.327 MB / 421.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00772/0.2758, allocations: 4.792 MB / 426 MB, free: 5.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.2766, allocations: 0.641 MB / 426.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.2768, allocations: 57.7 kB / 426.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.277, allocations: 326 kB / 427 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.2775, allocations: 483.8 kB / 427.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.2779, allocations: 230.9 kB / 427.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.2781, allocations: 402.7 kB / 428.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.2793, allocations: 0.596 MB / 428.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.2808, allocations: 0.9172 MB / 429.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.2832, allocations: 1.333 MB / 431 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2832, allocations: 4 kB / 431 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005411/0.2886, allocations: 2.214 MB / 433.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.2887, allocations: 89.11 kB / 433.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2887, allocations: 7.938 kB / 433.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.2913, allocations: 0.7247 MB / 434 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.2921, allocations: 195.7 kB / 434.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.3086, allocations: 13.38 MB / 447.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.3106, allocations: 171.8 kB / 447.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3107, allocations: 55.95 kB / 447.8 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (112): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005186/0.3112, allocations: 249.6 kB / 448.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3115, allocations: 111.3 kB / 448.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.3117, allocations: 122.1 kB / 448.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00529/0.317, allocations: 2.025 MB / 450.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.317, allocations: 4 kB / 450.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005205/0.3222, allocations: 2.375 MB / 452.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008938/0.3311, allocations: 4.194 MB / 456.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3311, allocations: 0 / 456.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.3319, allocations: 179.7 kB / 457.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/0.3355, allocations: 1.086 MB / 458.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.3356, allocations: 39.91 kB / 458.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.3536, allocations: 12.41 MB / 470.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006887/0.3605, allocations: 3.729 MB / 474.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/0.3673, allocations: 3.012 MB / 477.3 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.3681, allocations: 255.2 kB / 477.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.3683, allocations: 28 kB / 477.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.3695, allocations: 115.9 kB / 477.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/0.3699, allocations: 133 kB / 477.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.37, allocations: 47.91 kB / 477.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006079/0.3706, allocations: 459 kB / 478.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3706, allocations: 0 / 478.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00178/0.3724, allocations: 0.582 MB / 478.9 MB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor1.T,heatCapacitor2.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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (3,3,88.9%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007212/0.3796, allocations: 3.598 MB / 482.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.3839, allocations: 2.58 MB / 485.1 MB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.3839, allocations: 4 kB / 485.1 MB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003713/0.3876, allocations: 1.737 MB / 486.9 MB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.389, allocations: 243 kB / 487.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.4107, allocations: 11.55 MB / 498.6 MB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.4115, allocations: 1.049 MB / 499.7 MB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006646/0.4122, allocations: 152.4 kB / 499.8 MB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.4128, allocations: 399.2 kB / 0.4885 GB, free: 8.637 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4128, allocations: 0 / 0.4885 GB, free: 8.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09958/0.5124, allocations: 40.61 MB / 0.5282 GB, free: 15.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.14, allocations: 8 kB / 0.5282 GB, free: 15.91 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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: 17.49544062401401]