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.001109/0.001109, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001045/0.001045, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 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 0.9454/0.9454, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.141e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005092/0.005123, allocations: 5.166 MB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.007831, allocations: 1.694 MB / 257.9 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.008085, allocations: 16 kB / 257.9 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.009882, allocations: 1.513 MB / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.01041, allocations: 329.4 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.01127, allocations: 0.619 MB / 260.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006943/0.01197, allocations: 0.8438 MB / 261.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.01276, allocations: 0.6636 MB / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.01339, allocations: 0.5106 MB / 262.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.01391, allocations: 363 kB / 262.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01403, allocations: 72 kB / 262.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.01457, allocations: 247.6 kB / 263.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.01471, allocations: 179.3 kB / 263.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.01496, allocations: 291.2 kB / 263.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009994/0.01596, allocations: 0.794 MB / 264.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01597, allocations: 7.938 kB / 264.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01597, allocations: 7.938 kB / 264.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.01598, allocations: 0 / 264.3 MB, free: 10.15 MB / 250.7 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.00328/0.01926, allocations: 1.506 MB / 265.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.01931, allocations: 15.98 kB / 265.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.02102, allocations: 435.6 kB / 266.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.02123, allocations: 207.5 kB / 266.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.02129, allocations: 70.38 kB / 266.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.02145, allocations: 96.38 kB / 266.6 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.02274, allocations: 0.7334 MB / 267.4 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.02278, allocations: 8.141 kB / 267.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.02286, allocations: 40.38 kB / 267.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.02288, allocations: 27.94 kB / 267.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.02393, allocations: 451.3 kB / 267.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.0281, allocations: 2.656 MB / 270.5 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.02969, allocations: 0.7879 MB / 271.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.03011, allocations: 238.8 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.0302, allocations: 28.98 kB / 271.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.03023, allocations: 46.39 kB / 271.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/0.03024, allocations: 0 / 271.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.001706/0.03194, allocations: 0.7838 MB / 272.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.032, allocations: 86.11 kB / 272.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.03239, allocations: 377.9 kB / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.03243, allocations: 41.7 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.03268, allocations: 446.9 kB / 273.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.03295, allocations: 313.3 kB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.0332, allocations: 184.5 kB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.0334, allocations: 0.5352 MB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.03373, allocations: 158.5 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.03425, allocations: 442.1 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.03526, allocations: 0.6287 MB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.03527, allocations: 4 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001357/0.03663, allocations: 0.8121 MB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.03665, allocations: 8 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.03666, allocations: 8 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.03723, allocations: 154.8 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.03787, allocations: 203.7 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/0.04246, allocations: 7.638 MB / 284.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.04292, allocations: 103.2 kB / 284.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.04298, allocations: 43.98 kB / 284.6 MB, free: 4.867 MB / 266.7 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.0002291/0.04321, allocations: 208.3 kB / 284.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.04335, allocations: 79.66 kB / 284.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.04453, allocations: 0.6853 MB / 285.5 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.04454, allocations: 8 kB / 285.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.04455, allocations: 8 kB / 285.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.04456, allocations: 7.969 kB / 285.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.04694, allocations: 1.409 MB / 287 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.04694, allocations: 4 kB / 287 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.04738, allocations: 143.7 kB / 287.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.0477, allocations: 142.9 kB / 287.2 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.04773, allocations: 16 kB / 287.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.05048, allocations: 7.087 MB / 294.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.05048, allocations: 0 / 294.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.05147, allocations: 1.083 MB / 295.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.05153, allocations: 59.52 kB / 295.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.05157, allocations: 24.03 kB / 295.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.05174, allocations: 20 kB / 295.5 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.05182, allocations: 68.47 kB / 295.6 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.05184, allocations: 28 kB / 295.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.05199, allocations: 238.9 kB / 295.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05199, allocations: 0 / 295.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006379/0.05263, allocations: 267.5 kB / 296.1 MB, free: 8.594 MB / 282.7 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.0002316/0.05286, allocations: 147 kB / 296.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.05386, allocations: 1.22 MB / 297.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.05386, allocations: 1.438 kB / 297.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.05438, allocations: 0.9308 MB / 298.4 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.05476, allocations: 72.45 kB / 298.5 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.05653, allocations: 1.345 MB / 299.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.05663, allocations: 155.3 kB / 300 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.05688, allocations: 104.9 kB / 300.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.05699, allocations: 44.5 kB / 300.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05699, allocations: 0 / 300.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of Templates: time 0.01033/0.06732, allocations: 6.821 MB / 306.9 MB, free: 13.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.215749775059521]