Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001968/0.001968, allocations: 82.89 kB / 21.43 MB, free: 296 kB / 14.72 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.002344/0.002344, allocations: 164.1 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.362/1.362, allocations: 158.6 MB / 186.5 MB, free: 6.418 MB / 174.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.054e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01183/0.01186, allocations: 8.634 MB / 307.6 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.01885, allocations: 3.218 MB / 310.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.02035, allocations: 75.62 kB / 310.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009736/0.03008, allocations: 3.784 MB / 314.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.03528, allocations: 1.449 MB / 316.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.0382, allocations: 1.102 MB / 317.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1935/0.2317, allocations: 9.503 MB / 326.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02338/0.2551, allocations: 12.86 MB / 339.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.2727, allocations: 7.514 MB / 347.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.2834, allocations: 5.505 MB / 352.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004598/0.288, allocations: 1.396 MB / 354 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006311/0.2943, allocations: 1.63 MB / 355.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004728/0.299, allocations: 2.988 MB / 358.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01069/0.3097, allocations: 3.675 MB / 362.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02739/0.3371, allocations: 19.02 MB / 381.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3371, allocations: 0.5625 kB / 381.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3371, allocations: 0 / 381.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000557/0.3377, allocations: 4 kB / 381.3 MB, free: 10.55 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04271/0.3804, allocations: 12.29 MB / 393.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3804, allocations: 15.98 kB / 393.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05151/0.4319, allocations: 8.545 MB / 402.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/0.4475, allocations: 5.502 MB / 407.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009/0.4484, allocations: 0.6647 MB / 408.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/0.453, allocations: 0.8677 MB / 409.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/0.4981, allocations: 16.22 MB / 425.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.4984, allocations: 15.94 kB / 425.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/0.5, allocations: 364.8 kB / 425.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006002/0.5006, allocations: 0.5579 MB / 426.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0324/0.533, allocations: 15.64 MB / 442 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0835/0.6165, allocations: 41.67 MB / 483.7 MB, free: 4.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.359/0.9755, allocations: 8.418 MB / 492.1 MB, free: 127 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006631/0.9821, allocations: 3.237 MB / 495.3 MB, free: 126 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.9825, allocations: 88.38 kB / 495.4 MB, free: 126 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.427e-05/0.9826, allocations: 84.03 kB / 495.5 MB, free: 125.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.825e-06/0.9826, allocations: 0.6562 kB / 495.5 MB, free: 125.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02662/1.009, allocations: 11.07 MB / 0.4947 GB, free: 122.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.009, allocations: 124 kB / 0.4948 GB, free: 122.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/1.015, allocations: 3.966 MB / 0.4987 GB, free: 121.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008976/1.016, allocations: 105.4 kB / 0.4988 GB, free: 121.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.018, allocations: 4.019 MB / 0.5027 GB, free: 118.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/1.02, allocations: 1.668 MB / 0.5043 GB, free: 117.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/1.022, allocations: 1.461 MB / 0.5058 GB, free: 117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/1.022, allocations: 301.1 kB / 0.506 GB, free: 116.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/1.027, allocations: 3.688 MB / 0.5096 GB, free: 115.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/1.033, allocations: 6.516 MB / 0.516 GB, free: 110.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.044, allocations: 10.83 MB / 0.5266 GB, free: 100.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.044, allocations: 28 kB / 0.5266 GB, free: 100.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02319/1.068, allocations: 11.92 MB / 0.5383 GB, free: 88.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/1.068, allocations: 46.81 kB / 0.5383 GB, free: 88.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.068, allocations: 92 kB / 0.5384 GB, free: 88.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/1.073, allocations: 1.625 MB / 0.54 GB, free: 86.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.079, allocations: 1.669 MB / 0.5416 GB, free: 84.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/1.095, allocations: 16.71 MB / 0.5579 GB, free: 67.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006707/1.102, allocations: 0.9626 MB / 0.5589 GB, free: 66.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.103, allocations: 365 kB / 0.5592 GB, free: 66.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00651/1.11, allocations: 3.758 MB / 0.5629 GB, free: 62.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/1.111, allocations: 405.4 kB / 0.5633 GB, free: 62.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.124, allocations: 8.521 MB / 0.5716 GB, free: 53.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.124, allocations: 55.94 kB / 0.5716 GB, free: 53.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/1.124, allocations: 12 kB / 0.5717 GB, free: 53.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.38e-05/1.124, allocations: 23.91 kB / 0.5717 GB, free: 53.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/1.149, allocations: 14.86 MB / 0.5862 GB, free: 38.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.149, allocations: 0 / 0.5862 GB, free: 38.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/1.152, allocations: 0.862 MB / 0.587 GB, free: 37.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004597/1.157, allocations: 1.511 MB / 0.5885 GB, free: 36.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/1.157, allocations: 99.98 kB / 0.5886 GB, free: 36.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.172, allocations: 16.52 MB / 0.6047 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.172, allocations: 7.938 kB / 0.6047 GB, free: 18.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.19, allocations: 12.2 MB / 0.6167 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002859/1.193, allocations: 1.082 MB / 0.6177 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007821/1.193, allocations: 84 kB / 0.6178 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.196, allocations: 307.6 kB / 0.6181 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/1.197, allocations: 335.3 kB / 0.6184 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.197, allocations: 140 kB / 0.6185 GB, free: 4.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003267/1.2, allocations: 2.542 MB / 0.621 GB, free: 2.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/1.2, allocations: 0 / 0.621 GB, free: 2.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008047/1.208, allocations: 2.4 MB / 0.6234 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00099/1.209, allocations: 257.1 kB / 0.6236 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01933/1.229, allocations: 8.991 MB / 0.6324 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/1.229, allocations: 4 kB / 0.6324 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.239, allocations: 4.169 MB / 0.6365 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007393/1.246, allocations: 0.7167 MB / 0.6372 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04427/1.291, allocations: 17.12 MB / 0.6539 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2056/1.496, allocations: 5.577 MB / 0.6593 GB, free: 140.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009345/1.506, allocations: 3.295 MB / 0.6625 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.507, allocations: 373.7 kB / 0.6629 GB, free: 140.6 MB / 462.1 MB Notification: Performance of SimCode: time 2.024e-06/1.507, allocations: 0.6562 kB / 0.6629 GB, free: 140.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1/1.607, allocations: 61.07 MB / 0.7225 GB, free: 101.2 MB / 462.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: 8.209910809993744]