Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001653/0.001653, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002015/0.002015, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 43.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 53.36 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007582/0.244, allocations: 5.299 MB / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.2475, allocations: 1.775 MB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.2481, allocations: 16 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003686/0.2517, allocations: 1.419 MB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.2529, allocations: 321.6 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.2545, allocations: 0.6502 MB / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2558, allocations: 0.8083 MB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.2571, allocations: 0.679 MB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.2577, allocations: 358.7 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/0.2584, allocations: 466.1 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2586, allocations: 76 kB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.2593, allocations: 263.8 kB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.2595, allocations: 171.4 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.26, allocations: 425.9 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2618, allocations: 1.207 MB / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2618, allocations: 3.938 kB / 445 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2618, allocations: 4 kB / 445 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.2618, allocations: 0 / 445 MB, free: 8.891 MB / 350.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.004894/0.2667, allocations: 1.402 MB / 446.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2668, allocations: 8.031 kB / 446.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.267, allocations: 152.3 kB / 446.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.2688, allocations: 244.2 kB / 446.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.269, allocations: 205.4 kB / 447 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.2691, allocations: 70.38 kB / 447.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.2693, allocations: 100.4 kB / 447.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.2712, allocations: 0.9462 MB / 448.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.2712, allocations: 11.94 kB / 448.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.2713, allocations: 36 kB / 448.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.2713, allocations: 24 kB / 448.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.2733, allocations: 0.7854 MB / 449 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006248/0.2796, allocations: 3.076 MB / 452.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.2817, allocations: 0.8928 MB / 453 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.2824, allocations: 326 kB / 453.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.2825, allocations: 36.95 kB / 453.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.2826, allocations: 47.5 kB / 453.4 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.845e-06/0.2826, allocations: 0 / 453.4 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002426/0.2851, allocations: 1.007 MB / 454.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.2852, allocations: 86.11 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.2857, allocations: 364.4 kB / 454.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.2857, allocations: 41.7 kB / 454.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.2862, allocations: 392.2 kB / 455.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.2865, allocations: 321.3 kB / 455.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.2868, allocations: 178.8 kB / 455.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.2871, allocations: 366.7 kB / 456.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.2878, allocations: 266.5 kB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.2885, allocations: 479.4 kB / 456.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.2898, allocations: 0.7706 MB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.2898, allocations: 4 kB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002072/0.2919, allocations: 0.981 MB / 458.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2919, allocations: 8 kB / 458.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2919, allocations: 8 kB / 458.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.2923, allocations: 123.4 kB / 458.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.2933, allocations: 207.6 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/0.2993, allocations: 5.704 MB / 464.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.3, allocations: 103.2 kB / 464.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.3001, allocations: 43.94 kB / 464.8 MB, free: 4.219 MB / 366.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.0004376/0.3006, allocations: 237.6 kB / 465 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3007, allocations: 51.67 kB / 465.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.3026, allocations: 0.8365 MB / 465.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3026, allocations: 12 kB / 465.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3026, allocations: 3.938 kB / 465.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.3026, allocations: 3.984 kB / 465.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.306, allocations: 1.787 MB / 467.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.306, allocations: 4.281 kB / 467.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.3067, allocations: 143.8 kB / 467.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.307, allocations: 107.3 kB / 467.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.3071, allocations: 20 kB / 468 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.312, allocations: 5.3 MB / 473.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.3121, allocations: 4 kB / 473.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.3143, allocations: 1.281 MB / 474.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3145, allocations: 71.45 kB / 474.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3146, allocations: 23.94 kB / 474.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.315, allocations: 16 kB / 474.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3152, allocations: 72.47 kB / 474.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.3152, allocations: 24.06 kB / 474.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3156, allocations: 255.2 kB / 475 MB, free: 9.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3156, allocations: 0 / 475 MB, free: 9.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001065/0.3166, allocations: 259.6 kB / 475.3 MB, free: 9.09 MB / 382.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.002769/0.3194, allocations: 1.893 MB / 477.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3214, allocations: 1.133 MB / 478.3 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.3214, allocations: 0 / 478.3 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3225, allocations: 0.7577 MB / 479 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.3232, allocations: 65.48 kB / 479.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.3328, allocations: 5.689 MB / 484.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.3336, allocations: 0.911 MB / 485.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.3341, allocations: 105.1 kB / 485.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.3345, allocations: 247.3 kB / 486 MB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3345, allocations: 3.938 kB / 486.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.4054, allocations: 13.75 MB / 499.8 MB, free: 196 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.27, allocations: 8 kB / 499.8 MB, free: 188 kB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 15.741215493064374]