Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001308/0.001308, allocations: 104.6 kB / 21.96 MB, free: 5.219 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.00142/0.00142, allocations: 214 kB / 25.26 MB, free: 3.129 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.266/1.266, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",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.001584/0.001584, allocations: 50.59 kB / 348 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2137, allocations: 49.16 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004733/0.2185, allocations: 4.648 MB / 401.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2207, allocations: 1.629 MB / 403.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.221, allocations: 20.28 kB / 403.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.2234, allocations: 1.316 MB / 404.8 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.2239, allocations: 320 kB / 405.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2249, allocations: 0.6112 MB / 405.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.2256, allocations: 0.8098 MB / 406.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.2264, allocations: 0.6709 MB / 407.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.2267, allocations: 363.7 kB / 407.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.2271, allocations: 467.6 kB / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.2272, allocations: 73.66 kB / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.2276, allocations: 255.8 kB / 408.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2277, allocations: 181.8 kB / 408.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.228, allocations: 339.6 kB / 408.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.229, allocations: 1.202 MB / 410 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.229, allocations: 0 / 410 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.229, allocations: 1.5 kB / 410 MB, free: 1.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.229, allocations: 0 / 410 MB, free: 1.262 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003356/0.2324, allocations: 1.387 MB / 411.4 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2324, allocations: 13.2 kB / 411.4 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.528e-05/0.2325, allocations: 26.38 kB / 411.4 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.2326, allocations: 147.8 kB / 411.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.2341, allocations: 261 kB / 411.8 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2343, allocations: 201.7 kB / 412 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.2343, allocations: 74.34 kB / 412.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2345, allocations: 99.48 kB / 412.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.236, allocations: 0.9513 MB / 413.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2361, allocations: 2.906 kB / 413.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.2361, allocations: 39.16 kB / 413.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.2362, allocations: 23.94 kB / 413.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2374, allocations: 0.7781 MB / 414 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.2421, allocations: 2.807 MB / 416.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2438, allocations: 0.8779 MB / 417.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.2443, allocations: 327.2 kB / 418 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.2444, allocations: 21.17 kB / 418 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.2444, allocations: 47.62 kB / 418.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.245e-06/0.2444, allocations: 0 / 418.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.001963/0.2464, allocations: 0.9971 MB / 419.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2464, allocations: 87.58 kB / 419.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.2468, allocations: 372.1 kB / 419.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.2469, allocations: 40.48 kB / 419.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2471, allocations: 400 kB / 419.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.2474, allocations: 304.5 kB / 420.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.2476, allocations: 179.5 kB / 420.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2478, allocations: 366.2 kB / 420.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.2483, allocations: 263.5 kB / 421 MB, free: 9.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.2489, allocations: 469.6 kB / 421.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.25, allocations: 0.7733 MB / 422.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.25, allocations: 1.25 kB / 422.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001605/0.2516, allocations: 0.967 MB / 423.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2516, allocations: 11.94 kB / 423.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2516, allocations: 4.719 kB / 423.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.252, allocations: 123.4 kB / 423.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.2527, allocations: 203.7 kB / 423.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/0.2574, allocations: 5.696 MB / 429.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.2579, allocations: 107.2 kB / 429.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.258, allocations: 39.98 kB / 429.4 MB, free: 1.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.2583, allocations: 233.7 kB / 429.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2584, allocations: 55.62 kB / 429.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.2598, allocations: 0.8443 MB / 430.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.2598, allocations: 8 kB / 430.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2598, allocations: 11.88 kB / 430.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2598, allocations: 3.984 kB / 430.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.2625, allocations: 1.642 MB / 432.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2625, allocations: 4 kB / 432.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.2631, allocations: 139.7 kB / 432.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.2633, allocations: 111.6 kB / 432.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.2634, allocations: 23.98 kB / 432.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.2674, allocations: 5.28 MB / 437.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2674, allocations: 0 / 437.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.2692, allocations: 1.273 MB / 439 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.2693, allocations: 67.47 kB / 439.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.2693, allocations: 19.94 kB / 439.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2697, allocations: 24 kB / 439.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.2698, allocations: 68.47 kB / 439.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.2698, allocations: 24 kB / 439.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.2701, allocations: 259.3 kB / 439.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2701, allocations: 0 / 439.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000829/0.2709, allocations: 259.6 kB / 439.7 MB, free: 6.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00222/0.2732, allocations: 1.864 MB / 441.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2747, allocations: 1.125 MB / 442.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2747, allocations: 4 kB / 442.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.2756, allocations: 0.7659 MB / 443.5 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.2761, allocations: 66.84 kB / 443.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.2838, allocations: 5.688 MB / 449.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2842, allocations: 322.4 kB / 449.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.2846, allocations: 109.1 kB / 449.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.2849, allocations: 243.3 kB / 449.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2849, allocations: 0 / 449.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/0.3335, allocations: 13.58 MB / 463.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.6, allocations: 12.03 kB / 463.5 MB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 14.888023154111579]