Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 67.88 kB / 373.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1034, allocations: 53.31 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006905/0.1103, allocations: 5.287 MB / 432 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.113, allocations: 1.752 MB / 433.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.1132, allocations: 20 kB / 433.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.1163, allocations: 1.419 MB / 435.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.1169, allocations: 325.6 kB / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1182, allocations: 0.6446 MB / 436.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.1191, allocations: 0.8052 MB / 436.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000915/0.12, allocations: 0.5856 MB / 437.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.1205, allocations: 350.7 kB / 437.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.121, allocations: 474.1 kB / 438.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.1211, allocations: 72 kB / 438.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.1216, allocations: 267.8 kB / 438.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1217, allocations: 175.4 kB / 438.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.1221, allocations: 425.9 kB / 439.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.1234, allocations: 1.195 MB / 440.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1234, allocations: 0 / 440.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1234, allocations: 3.938 kB / 440.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1235, allocations: 4 kB / 440.4 MB, free: 7.184 MB / 366.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.003949/0.1274, allocations: 1.469 MB / 441.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1274, allocations: 19.97 kB / 441.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.1276, allocations: 152.4 kB / 442.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.1293, allocations: 240.2 kB / 442.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1295, allocations: 263.2 kB / 442.6 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.1296, allocations: 74.38 kB / 442.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.1297, allocations: 96.38 kB / 442.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1313, allocations: 0.95 MB / 443.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.1313, allocations: 3.953 kB / 443.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.1314, allocations: 40 kB / 443.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1314, allocations: 28 kB / 443.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.1329, allocations: 0.7848 MB / 444.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1704/0.3033, allocations: 3.613 MB / 448.1 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3049, allocations: 1.188 MB / 449.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.3053, allocations: 323.5 kB / 449.6 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.3054, allocations: 191.3 kB / 449.8 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3054, allocations: 46.25 kB / 449.9 MB, free: 22.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.364e-06/0.3055, allocations: 1.25 kB / 449.9 MB, free: 22.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.001912/0.3074, allocations: 1.312 MB / 451.2 MB, free: 21.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3074, allocations: 87.83 kB / 451.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3077, allocations: 369.4 kB / 451.6 MB, free: 21.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.3078, allocations: 38.45 kB / 451.7 MB, free: 21.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3079, allocations: 389.2 kB / 452.1 MB, free: 21.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.3081, allocations: 317.7 kB / 452.4 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3083, allocations: 181.8 kB / 452.5 MB, free: 21.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.3084, allocations: 363.7 kB / 452.9 MB, free: 20.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.3088, allocations: 265.9 kB / 453.2 MB, free: 20.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.3093, allocations: 478 kB / 453.6 MB, free: 20.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.3102, allocations: 0.777 MB / 454.4 MB, free: 19.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3102, allocations: 1.062 kB / 454.4 MB, free: 19.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001465/0.3117, allocations: 0.9709 MB / 455.4 MB, free: 19.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3117, allocations: 11 kB / 455.4 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3117, allocations: 14.59 kB / 455.4 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.3121, allocations: 118.7 kB / 455.5 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.3128, allocations: 210.5 kB / 455.7 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.3156, allocations: 6.115 MB / 461.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.3161, allocations: 110.5 kB / 461.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.3162, allocations: 40.69 kB / 462 MB, free: 13.2 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.0002617/0.3165, allocations: 228.6 kB / 462.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3166, allocations: 53.42 kB / 462.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3179, allocations: 0.8494 MB / 463.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3179, allocations: 8.656 kB / 463.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3179, allocations: 2.375 kB / 463.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3179, allocations: 5.656 kB / 463.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.3205, allocations: 2.103 MB / 465.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3205, allocations: 2.719 kB / 465.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.321, allocations: 146.2 kB / 465.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.3213, allocations: 102.5 kB / 465.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.3213, allocations: 28.17 kB / 465.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.3237, allocations: 5.716 MB / 471.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3237, allocations: 8.406 kB / 471.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3253, allocations: 1.28 MB / 472.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.3254, allocations: 146 kB / 472.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.3254, allocations: 19.94 kB / 472.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.3258, allocations: 21.17 kB / 472.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.3259, allocations: 67.8 kB / 472.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.3259, allocations: 28.59 kB / 472.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3262, allocations: 256.8 kB / 473 MB, free: 4.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 0 / 473 MB, free: 4.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.3271, allocations: 261.4 kB / 473.3 MB, free: 4.195 MB / 366.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.001867/0.3289, allocations: 1.875 MB / 475.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.3303, allocations: 1.135 MB / 476.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3303, allocations: 0 / 476.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.331, allocations: 0.7635 MB / 477.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.3316, allocations: 69.62 kB / 477.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.339, allocations: 5.692 MB / 482.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.3395, allocations: 0.9116 MB / 483.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004148/0.3399, allocations: 107.3 kB / 483.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.3403, allocations: 246 kB / 484.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3403, allocations: 0 / 484.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/0.3895, allocations: 13.08 MB / 497.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.44, allocations: 14.3 kB / 497.2 MB, free: 8.02 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.51682236045599]