Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 186 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 47.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2326, allocations: 52.19 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004399/0.2369, allocations: 2.865 MB / 426.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.239, allocations: 1.168 MB / 427.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2391, allocations: 4 kB / 427.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.2407, allocations: 0.6376 MB / 428.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.241, allocations: 131.1 kB / 428.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.2424, allocations: 0.6848 MB / 429.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.2429, allocations: 294.6 kB / 429.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.2433, allocations: 240.8 kB / 429.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.2435, allocations: 135.5 kB / 430 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.2438, allocations: 167.3 kB / 430.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.2438, allocations: 28 kB / 430.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.2442, allocations: 175.9 kB / 430.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.2442, allocations: 59.83 kB / 430.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2444, allocations: 151.2 kB / 430.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.2451, allocations: 0.494 MB / 431.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2451, allocations: 0 / 431.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2451, allocations: 4 kB / 431.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.2451, allocations: 0 / 431.1 MB, free: 7.422 MB / 334.1 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.00166/0.2468, allocations: 0.6573 MB / 431.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2468, allocations: 12.03 kB / 431.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.2476, allocations: 120.6 kB / 431.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.248, allocations: 206 kB / 432.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.248, allocations: 25.03 kB / 432.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.2481, allocations: 32.38 kB / 432.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.2487, allocations: 333 kB / 432.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.2487, allocations: 7.953 kB / 432.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2487, allocations: 12 kB / 432.5 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2487, allocations: 11.98 kB / 432.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2492, allocations: 246.5 kB / 432.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.2513, allocations: 1.364 MB / 434.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.2518, allocations: 240.4 kB / 434.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.2519, allocations: 96.2 kB / 434.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.252, allocations: 11.94 kB / 434.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.252, allocations: 30.56 kB / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.252, allocations: 0 / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001267/0.2533, allocations: 421.8 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2534, allocations: 59.34 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2536, allocations: 177 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2536, allocations: 33.64 kB / 435.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2537, allocations: 180.4 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2538, allocations: 87.27 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2539, allocations: 53.94 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.254, allocations: 326.8 kB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2542, allocations: 72.53 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.2543, allocations: 129 kB / 436 MB, free: 2.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.2547, allocations: 224.3 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2547, allocations: 0 / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006071/0.2553, allocations: 323.8 kB / 436.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2553, allocations: 8 kB / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2553, allocations: 0 / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.2556, allocations: 76.8 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2558, allocations: 43.92 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.2581, allocations: 1.926 MB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2582, allocations: 27.72 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2582, allocations: 20 kB / 438.6 MB, free: 15.47 MB / 350.1 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.0001738/0.2584, allocations: 141.8 kB / 438.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.2585, allocations: 19.84 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.2591, allocations: 284.1 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2591, allocations: 4 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2591, allocations: 0 / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2591, allocations: 4 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2601, allocations: 0.6571 MB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2601, allocations: 4 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2602, allocations: 27.94 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.2605, allocations: 72.73 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2605, allocations: 4 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.2626, allocations: 1.931 MB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2626, allocations: 0 / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.2633, allocations: 448.6 kB / 442.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.2634, allocations: 35.84 kB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2634, allocations: 4 kB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2635, allocations: 4 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.2636, allocations: 19.91 kB / 442.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2636, allocations: 8 kB / 442.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2637, allocations: 135.5 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2637, allocations: 0 / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.2642, allocations: 91.78 kB / 442.5 MB, free: 11.39 MB / 350.1 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.0002054/0.2644, allocations: 127.2 kB / 442.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.265, allocations: 346.3 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.265, allocations: 0 / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.2654, allocations: 237.1 kB / 443.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2657, allocations: 27.98 kB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2668, allocations: 0.5932 MB / 443.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2672, allocations: 0.756 MB / 444.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.2673, allocations: 19.44 kB / 444.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2673, allocations: 4 kB / 444.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Templates: time 0.006657/0.2739, allocations: 4.015 MB / 448.6 MB, free: 5.191 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.303119606804103]