Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001626/0.001626, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001684/0.001684, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.421/1.421, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 47.92 kB / 358.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09965, allocations: 49.43 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01181/0.1115, allocations: 9.993 MB / 418.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.1185, allocations: 3.334 MB / 421.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1201, allocations: 71.81 kB / 421.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009145/0.1292, allocations: 3.822 MB / 425.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.1343, allocations: 1.508 MB / 426.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.1373, allocations: 1.051 MB / 427.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2004/0.3377, allocations: 9.133 MB / 437 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02909/0.3668, allocations: 20.33 MB / 457.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009593/0.3765, allocations: 5.057 MB / 462.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.3881, allocations: 6.082 MB / 468.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004027/0.3921, allocations: 1.402 MB / 469.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006138/0.3983, allocations: 1.638 MB / 471.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005609/0.4039, allocations: 2.92 MB / 474.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01474/0.4187, allocations: 5.76 MB / 480.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.4444, allocations: 18.88 MB / 499.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4444, allocations: 4 kB / 499.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4445, allocations: 0 / 499.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004906/0.4449, allocations: 0 / 499.1 MB, free: 12.01 MB / 398.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.04122/0.4862, allocations: 12.45 MB / 0.4996 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4863, allocations: 12.03 kB / 0.4996 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05068/0.5369, allocations: 8.545 MB / 0.5079 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.5506, allocations: 5.9 MB / 0.5137 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007363/0.5514, allocations: 0.6582 MB / 0.5143 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00377/0.5551, allocations: 0.8636 MB / 0.5152 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03975/0.5949, allocations: 15.98 MB / 0.5308 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002697/0.5952, allocations: 11.95 kB / 0.5308 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.5973, allocations: 369.8 kB / 0.5311 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005884/0.5979, allocations: 0.5621 MB / 0.5317 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03051/0.6285, allocations: 15.72 MB / 0.547 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0834/0.7119, allocations: 47.84 MB / 0.5937 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3648/1.077, allocations: 19.35 MB / 0.6126 GB, free: 140.1 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005321/1.082, allocations: 3.588 MB / 0.6161 GB, free: 140.1 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/1.082, allocations: 183.1 kB / 0.6163 GB, free: 140 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/1.083, allocations: 84.62 kB / 0.6164 GB, free: 140 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=468): time 6.622e-06/1.083, allocations: 1.094 kB / 0.6164 GB, free: 140 MB / 0.4982 GB Notification: Performance of matching and sorting (n=468): time 0.02387/1.106, allocations: 11.57 MB / 0.6277 GB, free: 138.9 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.107, allocations: 131.2 kB / 0.6278 GB, free: 138.8 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/1.112, allocations: 3.846 MB / 0.6316 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007848/1.113, allocations: 101.5 kB / 0.6317 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.115, allocations: 4.048 MB / 0.6356 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/1.116, allocations: 1.688 MB / 0.6373 GB, free: 134 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/1.118, allocations: 1.478 MB / 0.6387 GB, free: 133.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/1.118, allocations: 302.5 kB / 0.639 GB, free: 133 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.123, allocations: 3.686 MB / 0.6426 GB, free: 131.7 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005758/1.129, allocations: 6.523 MB / 0.649 GB, free: 126.8 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009837/1.138, allocations: 10.83 MB / 0.6596 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.106e-05/1.138, allocations: 23.47 kB / 0.6596 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01822/1.157, allocations: 11.97 MB / 0.6713 GB, free: 113 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.954e-05/1.157, allocations: 46.03 kB / 0.6713 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.157, allocations: 92 kB / 0.6714 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/1.162, allocations: 1.621 MB / 0.673 GB, free: 111.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/1.167, allocations: 1.669 MB / 0.6746 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.183, allocations: 17.67 MB / 0.6919 GB, free: 91.18 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005719/1.189, allocations: 0.9743 MB / 0.6928 GB, free: 90.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.19, allocations: 360.5 kB / 0.6932 GB, free: 89.85 MB / 0.4982 GB 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.00614/1.196, allocations: 3.75 MB / 0.6968 GB, free: 86.08 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.197, allocations: 413.3 kB / 0.6972 GB, free: 85.68 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.21, allocations: 8.577 MB / 0.7056 GB, free: 77.02 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/1.21, allocations: 48 kB / 0.7056 GB, free: 76.97 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.189e-05/1.21, allocations: 12 kB / 0.7057 GB, free: 76.96 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/1.21, allocations: 27.84 kB / 0.7057 GB, free: 76.93 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.234, allocations: 16.79 MB / 0.7221 GB, free: 60.09 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.234, allocations: 4 kB / 0.7221 GB, free: 60.09 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.237, allocations: 0.8659 MB / 0.7229 GB, free: 59.22 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/1.241, allocations: 1.513 MB / 0.7244 GB, free: 57.69 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/1.242, allocations: 100.9 kB / 0.7245 GB, free: 57.59 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.256, allocations: 17.47 MB / 0.7416 GB, free: 39.31 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.256, allocations: 11.94 kB / 0.7416 GB, free: 39.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.272, allocations: 12.25 MB / 0.7535 GB, free: 26.84 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.274, allocations: 1.126 MB / 0.7546 GB, free: 25.69 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007533/1.275, allocations: 87.94 kB / 0.7547 GB, free: 25.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.277, allocations: 311.7 kB / 0.755 GB, free: 25.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007087/1.278, allocations: 319.6 kB / 0.7553 GB, free: 24.98 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.278, allocations: 136 kB / 0.7555 GB, free: 24.85 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003257/1.282, allocations: 2.57 MB / 0.758 GB, free: 22.29 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.4e-07/1.282, allocations: 0 / 0.758 GB, free: 22.29 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.006814/1.288, allocations: 2.403 MB / 0.7603 GB, free: 19.88 MB / 0.4982 GB 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.0009145/1.289, allocations: 269 kB / 0.7606 GB, free: 19.6 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.302, allocations: 9.394 MB / 0.7697 GB, free: 10.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 2.754e-05/1.302, allocations: 0 / 0.7697 GB, free: 10.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006704/1.309, allocations: 4.479 MB / 0.7741 GB, free: 5.539 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/1.313, allocations: 0.7313 MB / 0.7748 GB, free: 4.82 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/1.344, allocations: 17 MB / 0.7914 GB, free: 3.742 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008649/1.352, allocations: 5.934 MB / 0.7972 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/1.355, allocations: 431.3 kB / 0.7976 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/1.355, allocations: 0 / 0.7976 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of Templates: time 0.801/2.156, allocations: 417.3 MB / 1.205 GB, free: 28.54 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 15.921858215937391]