Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001363/0.001363, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.001317/0.001317, allocations: 165.3 kB / 25.6 MB, free: 8.094 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.9638/0.9638, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.691e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002979/0.003006, allocations: 2.678 MB / 254.1 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004549, allocations: 1.157 MB / 255.3 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.004689, allocations: 8 kB / 255.3 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.00564, allocations: 0.6298 MB / 255.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.005952, allocations: 135 kB / 256.1 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.006737, allocations: 0.6147 MB / 256.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.00711, allocations: 306.4 kB / 257 MB, free: 1.68 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.00746, allocations: 239.1 kB / 257.2 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.007667, allocations: 179.6 kB / 257.4 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.007817, allocations: 139.6 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.00785, allocations: 24 kB / 257.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.008169, allocations: 163.8 kB / 257.7 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.008206, allocations: 71.69 kB / 257.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.008282, allocations: 99.75 kB / 257.9 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.008701, allocations: 374.7 kB / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008704, allocations: 0 / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008705, allocations: 0 / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00871, allocations: 0 / 258.3 MB, free: 420 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001031/0.009741, allocations: 0.7688 MB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.009779, allocations: 8.031 kB / 259 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.01028, allocations: 184.5 kB / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.0105, allocations: 196.2 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.01052, allocations: 25.03 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.01055, allocations: 28.38 kB / 259.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.01082, allocations: 255.2 kB / 259.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01084, allocations: 4.141 kB / 259.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.01086, allocations: 19.94 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01087, allocations: 8 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.01101, allocations: 108.4 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01214, allocations: 1.074 MB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.01241, allocations: 207 kB / 261.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.01247, allocations: 59.52 kB / 261.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.01254, allocations: 15.98 kB / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.01256, allocations: 41.39 kB / 261.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.01256, allocations: 0 / 261.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006105/0.01317, allocations: 317.1 kB / 261.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.01321, allocations: 63.34 kB / 261.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.01333, allocations: 222.4 kB / 261.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01336, allocations: 33.7 kB / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01346, allocations: 223.1 kB / 262.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.01353, allocations: 87.22 kB / 262.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.0136, allocations: 71.59 kB / 262.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01375, allocations: 0.4962 MB / 262.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.0138, allocations: 32.53 kB / 262.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.0139, allocations: 118.8 kB / 262.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01404, allocations: 166.7 kB / 263 MB, free: 11.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01404, allocations: 8 kB / 263 MB, free: 11.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003007/0.01434, allocations: 255.1 kB / 263.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01436, allocations: 8 kB / 263.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01437, allocations: 0 / 263.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.0146, allocations: 79.72 kB / 263.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.01468, allocations: 43.92 kB / 263.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.01604, allocations: 2.28 MB / 265.7 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.01611, allocations: 27.78 kB / 265.7 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01613, allocations: 12 kB / 265.7 MB, free: 8.504 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/0.01622, allocations: 172.5 kB / 265.9 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01625, allocations: 19.91 kB / 265.9 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.01652, allocations: 218.3 kB / 266.1 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01652, allocations: 0 / 266.1 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01652, allocations: 4 kB / 266.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01652, allocations: 0 / 266.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.01703, allocations: 0.5326 MB / 266.7 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01704, allocations: 7.938 kB / 266.7 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.0171, allocations: 23.98 kB / 266.7 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.01725, allocations: 67.56 kB / 266.8 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01726, allocations: 11.98 kB / 266.8 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.01837, allocations: 2.279 MB / 269.1 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01837, allocations: 0 / 269.1 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.01868, allocations: 385 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.01872, allocations: 35.83 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.01873, allocations: 3.984 kB / 269.5 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.01879, allocations: 8 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.01882, allocations: 19.95 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01883, allocations: 4 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.01889, allocations: 159.1 kB / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01889, allocations: 0 / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.01923, allocations: 99.72 kB / 269.8 MB, free: 4.273 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.0194, allocations: 131.1 kB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01975, allocations: 350.6 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01975, allocations: 4.062 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01993, allocations: 285.2 kB / 270.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.02013, allocations: 16 kB / 270.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.02096, allocations: 0.5076 MB / 271 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.02101, allocations: 92.31 kB / 271.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.02107, allocations: 21.62 kB / 271.1 MB, free: 2.781 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.02113, allocations: 82.2 kB / 271.2 MB, free: 2.699 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02114, allocations: 0 / 271.2 MB, free: 2.699 MB / 250.7 MB Notification: Performance of Templates: time 0.004841/0.02598, allocations: 2.776 MB / 274 MB, free: 15.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.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: 2.713685098104179]