Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.005555/0.005555, allocations: 110.1 kB / 21.96 MB, free: 5.25 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.001388/0.001388, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.339/1.339, allocations: 207.6 MB / 236 MB, free: 9.988 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.00187/0.00187, allocations: 48.3 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2404, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003441/0.2439, allocations: 2.878 MB / 400 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2454, allocations: 1.204 MB / 401.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2456, allocations: 8.062 kB / 401.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.246, allocations: 186.9 kB / 401.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.2464, allocations: 211.4 kB / 401.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.2467, allocations: 146.6 kB / 401.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.2472, allocations: 454.1 kB / 402.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.2473, allocations: 74.33 kB / 402.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2475, allocations: 187.1 kB / 402.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2478, allocations: 224.1 kB / 402.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.2478, allocations: 29.91 kB / 402.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.248, allocations: 69.05 kB / 402.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.2481, allocations: 88.42 kB / 402.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2482, allocations: 198.5 kB / 403 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.2487, allocations: 483 kB / 403.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2487, allocations: 0 / 403.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2487, allocations: 0 / 403.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2487, allocations: 0 / 403.5 MB, free: 5.047 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008485/0.2496, allocations: 0.637 MB / 404.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2496, allocations: 16.77 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.485e-05/0.2496, allocations: 10.73 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.2497, allocations: 63.62 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.2498, allocations: 50.48 kB / 404.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.2502, allocations: 294.6 kB / 404.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2502, allocations: 21.72 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.2502, allocations: 18.92 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.2506, allocations: 309.7 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2507, allocations: 4.938 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2507, allocations: 11.28 kB / 404.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2507, allocations: 6.031 kB / 404.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.251, allocations: 157.9 kB / 405.1 MB, free: 3.945 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.001208/0.2522, allocations: 0.8403 MB / 405.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.2525, allocations: 203.6 kB / 406.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2527, allocations: 90.41 kB / 406.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2527, allocations: 8.422 kB / 406.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.253, allocations: 148.7 kB / 406.4 MB, free: 3.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.253, allocations: 5.422 kB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001812/0.2548, allocations: 0.8959 MB / 407.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.2549, allocations: 318.2 kB / 407.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.2553, allocations: 436.3 kB / 408 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2553, allocations: 33.86 kB / 408 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2554, allocations: 199.4 kB / 408.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.2554, allocations: 122.6 kB / 408.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.2555, allocations: 75.3 kB / 408.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.2556, allocations: 354.9 kB / 408.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2558, allocations: 85.45 kB / 408.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.256, allocations: 203.7 kB / 409.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.2563, allocations: 222.4 kB / 409.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2563, allocations: 1.375 kB / 409.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004612/0.2567, allocations: 343.9 kB / 409.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2567, allocations: 10.73 kB / 409.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2568, allocations: 0 / 409.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.2569, allocations: 35.2 kB / 409.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.2571, allocations: 77.17 kB / 409.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.2584, allocations: 1.463 MB / 411.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.2586, allocations: 14.97 kB / 411.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2586, allocations: 14.67 kB / 411.2 MB, free: 15.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.2588, allocations: 176 kB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.2589, allocations: 49.25 kB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/0.2595, allocations: 332 kB / 411.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2595, allocations: 3.875 kB / 411.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.2595, allocations: 0 / 411.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006336/0.2601, allocations: 0.644 MB / 412.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.2613, allocations: 0.8082 MB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2613, allocations: 5.422 kB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2616, allocations: 71.86 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2616, allocations: 2.312 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2616, allocations: 7.297 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2616, allocations: 2.469 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2616, allocations: 1.219 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.2623, allocations: 0.5046 MB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2625, allocations: 63.2 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.2625, allocations: 12.52 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2627, allocations: 12.36 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.2628, allocations: 22.47 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.2628, allocations: 13.28 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.2631, allocations: 312 kB / 414.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2631, allocations: 4.062 kB / 414.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.2635, allocations: 98.19 kB / 414.3 MB, free: 13.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 ($outputAlias_level,$outputAlias_T) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002675/0.2662, allocations: 1.409 MB / 415.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007978/0.267, allocations: 358.8 kB / 416.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.267, allocations: 1.25 kB / 416.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2672, allocations: 116.7 kB / 416.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.2678, allocations: 103.5 kB / 416.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.2724, allocations: 3.621 MB / 419.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2729, allocations: 0.8051 MB / 420.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.273, allocations: 50.8 kB / 420.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2732, allocations: 142.5 kB / 420.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2732, allocations: 0 / 420.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.3115, allocations: 11.22 MB / 432.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.74, allocations: 11.94 kB / 432.2 MB, free: 15.27 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.255617908958811]