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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 113.8 kB / 17.32 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 201.8 kB / 18.26 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.72 kB / 306.6 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08419, allocations: 50.54 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006564/0.09079, allocations: 5.231 MB / 362.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.09379, allocations: 1.705 MB / 364 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.09432, allocations: 16 kB / 364.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.09745, allocations: 1.338 MB / 365.4 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.09853, allocations: 270.3 kB / 365.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1001, allocations: 0.5996 MB / 366.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1014, allocations: 0.8088 MB / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.1027, allocations: 0.8744 MB / 367.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.1032, allocations: 350.7 kB / 368.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.1038, allocations: 474.1 kB / 368.7 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.104, allocations: 72 kB / 368.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.1047, allocations: 267.8 kB / 369.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.1049, allocations: 179.3 kB / 369.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.1054, allocations: 421.9 kB / 369.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1067, allocations: 1.184 MB / 370.8 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1068, allocations: 4 kB / 370.8 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1068, allocations: 0 / 370.8 MB, free: 488 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.1068, allocations: 0 / 370.8 MB, free: 488 kB / 302.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.1365/0.2434, allocations: 1.452 MB / 372.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2434, allocations: 9.25 kB / 372.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.2436, allocations: 149.5 kB / 372.5 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.2452, allocations: 257.1 kB / 372.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2454, allocations: 261.1 kB / 373 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.2455, allocations: 73.31 kB / 373 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2456, allocations: 104.9 kB / 373.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.2471, allocations: 0.9413 MB / 374.1 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.2471, allocations: 6.844 kB / 374.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.2472, allocations: 39.97 kB / 374.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.2472, allocations: 24.22 kB / 374.1 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2485, allocations: 0.7784 MB / 374.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.253, allocations: 3.625 MB / 378.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.2547, allocations: 1.251 MB / 379.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.2552, allocations: 375.3 kB / 380.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.2553, allocations: 187.2 kB / 380.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2554, allocations: 44.05 kB / 380.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.265e-06/0.2554, allocations: 0 / 380.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001908/0.2573, allocations: 1.299 MB / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2573, allocations: 91.2 kB / 381.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.2577, allocations: 370 kB / 382.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.2578, allocations: 37.58 kB / 382.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2579, allocations: 385.3 kB / 382.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2581, allocations: 297.3 kB / 382.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2584, allocations: 173.8 kB / 383 MB, free: 13.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.2584, allocations: 362.3 kB / 383.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.2589, allocations: 265.8 kB / 383.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.2594, allocations: 476.1 kB / 384.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.2603, allocations: 0.775 MB / 384.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2604, allocations: 5.672 kB / 384.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001523/0.2619, allocations: 0.9676 MB / 385.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2619, allocations: 7.688 kB / 385.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2619, allocations: 6.656 kB / 385.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.2623, allocations: 125.9 kB / 386 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.2631, allocations: 208.4 kB / 386.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.266, allocations: 6.11 MB / 392.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.2665, allocations: 97.41 kB / 392.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.2666, allocations: 47.16 kB / 392.4 MB, free: 5.781 MB / 302.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.000305/0.2669, allocations: 239.6 kB / 392.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2671, allocations: 52.69 kB / 392.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2684, allocations: 0.8514 MB / 393.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2685, allocations: 8.688 kB / 393.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2685, allocations: 2.219 kB / 393.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.2685, allocations: 10.02 kB / 393.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.2711, allocations: 2.093 MB / 395.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2711, allocations: 2 kB / 395.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.2717, allocations: 135.2 kB / 395.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.272, allocations: 111.6 kB / 395.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.272, allocations: 20.55 kB / 395.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/0.275, allocations: 5.708 MB / 401.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.2751, allocations: 11.81 kB / 401.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.2768, allocations: 1.267 MB / 402.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.277, allocations: 146.8 kB / 403.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.2771, allocations: 15.58 kB / 403.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2775, allocations: 26.45 kB / 403.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2776, allocations: 66.02 kB / 403.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2776, allocations: 29.86 kB / 403.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.2779, allocations: 249.6 kB / 403.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2779, allocations: 0 / 403.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009724/0.2789, allocations: 269.5 kB / 403.7 MB, free: 12.7 MB / 318.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.002124/0.281, allocations: 1.873 MB / 405.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.283, allocations: 1.203 MB / 406.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2831, allocations: 4.469 kB / 406.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.2838, allocations: 0.7971 MB / 407.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.2844, allocations: 57.89 kB / 407.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.2919, allocations: 6.117 MB / 413.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.2925, allocations: 0.911 MB / 414.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005589/0.2931, allocations: 113.1 kB / 414.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.2934, allocations: 243.4 kB / 415 MB, free: 3.023 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2934, allocations: 0 / 415 MB, free: 3.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.3955, allocations: 12.54 MB / 427.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.3958, allocations: 257.7 kB / 427.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.66, allocations: 0 / 427.8 MB, free: 6.469 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches