Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002077/0.002077, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002489/0.002489, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.459/1.459, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.673e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004747/0.004774, allocations: 2.673 MB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.007157, allocations: 1.129 MB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.00737, allocations: 8 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.009159, allocations: 0.6103 MB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.009639, allocations: 143 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.01134, allocations: 0.6069 MB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.01187, allocations: 302.4 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.01236, allocations: 247.1 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.01271, allocations: 187.6 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.01296, allocations: 127.7 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.01301, allocations: 28 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.01341, allocations: 175.7 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.01348, allocations: 63.75 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.01364, allocations: 99.75 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008201/0.01446, allocations: 0.5178 MB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01446, allocations: 0 / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01446, allocations: 0 / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.01447, allocations: 4 kB / 279.2 MB, free: 10.9 MB / 266.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.001915/0.01639, allocations: 0.6534 MB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.01643, allocations: 8.031 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.0174, allocations: 168.5 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.01784, allocations: 210 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.01788, allocations: 29.03 kB / 280.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.01795, allocations: 28.38 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.01858, allocations: 337.6 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.0186, allocations: 192 / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.01864, allocations: 15.94 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01865, allocations: 8 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.01912, allocations: 242.5 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.02124, allocations: 1.059 MB / 282 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.02182, allocations: 238.6 kB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.02199, allocations: 88.83 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.02211, allocations: 15.98 kB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.02214, allocations: 34.56 kB / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.02214, allocations: 0 / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001347/0.02349, allocations: 430.2 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.02354, allocations: 55.41 kB / 282.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.02374, allocations: 161.7 kB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.02377, allocations: 25.7 kB / 283 MB, free: 6.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.02392, allocations: 184.3 kB / 283.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.02401, allocations: 91.2 kB / 283.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.02411, allocations: 49.98 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.0243, allocations: 326.8 kB / 283.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.02444, allocations: 68.53 kB / 283.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.02466, allocations: 133 kB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.02503, allocations: 224 kB / 284 MB, free: 5.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02504, allocations: 0 / 284 MB, free: 5.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009517/0.02599, allocations: 340.5 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.02601, allocations: 8 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.02602, allocations: 3.938 kB / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.02645, allocations: 88.86 kB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.02664, allocations: 39.98 kB / 284.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.02916, allocations: 1.899 MB / 286.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.02931, allocations: 31.72 kB / 286.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.02934, allocations: 15.98 kB / 286.4 MB, free: 3.301 MB / 266.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 0.0001839/0.02952, allocations: 137.8 kB / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.02959, allocations: 27.84 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.03023, allocations: 279.5 kB / 286.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.03024, allocations: 4 kB / 286.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.03024, allocations: 0 / 286.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.03025, allocations: 11.92 kB / 286.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.03134, allocations: 0.5838 MB / 287.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.03134, allocations: 0 / 287.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.03148, allocations: 27.92 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.03182, allocations: 84.73 kB / 287.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.03184, allocations: 8 kB / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.03422, allocations: 1.9 MB / 289.5 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.03423, allocations: 7.922 kB / 289.5 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/0.03504, allocations: 444.6 kB / 289.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.03512, allocations: 39.84 kB / 290 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.03515, allocations: 4.125 kB / 290 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.03528, allocations: 11.94 kB / 290 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.03533, allocations: 15.97 kB / 290 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.03535, allocations: 11.98 kB / 290 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.03546, allocations: 117.5 kB / 290.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03546, allocations: 0 / 290.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.036, allocations: 99.77 kB / 290.2 MB, free: 15.33 MB / 282.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.0002546/0.03625, allocations: 131.1 kB / 290.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.03696, allocations: 336.2 kB / 290.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03696, allocations: 0 / 290.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.03738, allocations: 242.8 kB / 290.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.03771, allocations: 26.98 kB / 291 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.03908, allocations: 0.5181 MB / 291.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.03927, allocations: 146.2 kB / 291.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.501e-05/0.03937, allocations: 21.95 kB / 291.6 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.03942, allocations: 16.5 kB / 291.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03942, allocations: 0 / 291.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of Templates: time 0.007756/0.04717, allocations: 2.692 MB / 294.3 MB, free: 11.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: 4.491267637000419]