Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001896/0.001896, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002482/0.002482, allocations: 211 kB / 23.73 MB, free: 4.387 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 51.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2302, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01102/0.2412, allocations: 8.705 MB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.2477, allocations: 3.252 MB / 443.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2491, allocations: 87.56 kB / 443.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009512/0.2586, allocations: 3.581 MB / 447.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.2637, allocations: 1.521 MB / 448.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.2666, allocations: 1.013 MB / 449.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.2786, allocations: 9.345 MB / 459.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02158/0.3002, allocations: 12.84 MB / 471.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.308, allocations: 5.179 MB / 477.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.3181, allocations: 6.052 MB / 483.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002653/0.3207, allocations: 1.395 MB / 484.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.3243, allocations: 1.64 MB / 486.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.3272, allocations: 2.934 MB / 489.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006446/0.3337, allocations: 4.269 MB / 493.4 MB, free: 8.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.3542, allocations: 18.99 MB / 0.5004 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3542, allocations: 0 / 0.5004 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3542, allocations: 0 / 0.5004 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003058/0.3545, allocations: 0 / 0.5004 GB, free: 5.57 MB / 414.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.03347/0.388, allocations: 12.38 MB / 0.5125 GB, free: 9.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.388, allocations: 12.03 kB / 0.5125 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04983/0.4379, allocations: 8.425 MB / 0.5207 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.4523, allocations: 6.023 MB / 0.5266 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006178/0.453, allocations: 0.6584 MB / 0.5272 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/0.4558, allocations: 0.8749 MB / 0.5281 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2398/0.6956, allocations: 16.27 MB / 0.544 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.6958, allocations: 10.23 kB / 0.544 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.6972, allocations: 366 kB / 0.5443 GB, free: 84.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005302/0.6977, allocations: 0.5556 MB / 0.5449 GB, free: 84.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.7215, allocations: 15.69 MB / 0.5602 GB, free: 78.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/0.7792, allocations: 41.74 MB / 0.601 GB, free: 36.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.7916, allocations: 8.45 MB / 0.6092 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003562/0.7952, allocations: 3.245 MB / 0.6124 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.7954, allocations: 119.9 kB / 0.6125 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.7955, allocations: 86.55 kB / 0.6126 GB, free: 25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.474e-06/0.7955, allocations: 0 / 0.6126 GB, free: 25 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01946/0.815, allocations: 11.1 MB / 0.6234 GB, free: 13.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.815, allocations: 129.1 kB / 0.6235 GB, free: 13.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.8197, allocations: 3.968 MB / 0.6274 GB, free: 9.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/0.82, allocations: 101.7 kB / 0.6275 GB, free: 9.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.8216, allocations: 4.037 MB / 0.6315 GB, free: 5.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008965/0.8225, allocations: 1.684 MB / 0.6331 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.8241, allocations: 1.489 MB / 0.6346 GB, free: 2.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.8242, allocations: 305.1 kB / 0.6348 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/0.8289, allocations: 3.694 MB / 0.6385 GB, free: 14.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007885/0.8367, allocations: 6.531 MB / 0.6448 GB, free: 6.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.8516, allocations: 10.86 MB / 0.6554 GB, free: 10.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.394e-05/0.8517, allocations: 24 kB / 0.6555 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02331/0.875, allocations: 11.97 MB / 0.6671 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.8751, allocations: 44 kB / 0.6672 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/0.8753, allocations: 95.98 kB / 0.6673 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/0.8806, allocations: 1.625 MB / 0.6689 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006665/0.8873, allocations: 1.677 MB / 0.6705 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.9099, allocations: 16.73 MB / 0.6868 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005973/0.9158, allocations: 0.9547 MB / 0.6878 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/0.9172, allocations: 371.9 kB / 0.6881 GB, free: 8.262 MB / 0.4981 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.007586/0.9248, allocations: 3.758 MB / 0.6918 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/0.9261, allocations: 409.4 kB / 0.6922 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/0.9441, allocations: 8.518 MB / 0.7005 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/0.9441, allocations: 55.98 kB / 0.7006 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.166e-05/0.9442, allocations: 12 kB / 0.7006 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-05/0.9443, allocations: 23.91 kB / 0.7006 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0337/0.978, allocations: 14.89 MB / 0.7151 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.978, allocations: 0 / 0.7151 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003934/0.9819, allocations: 0.8698 MB / 0.716 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005231/0.9871, allocations: 1.519 MB / 0.7175 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000722/0.9879, allocations: 112 kB / 0.7176 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02196/1.01, allocations: 16.54 MB / 0.7337 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.01, allocations: 4 kB / 0.7337 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2391/1.249, allocations: 12.24 MB / 0.7457 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/1.252, allocations: 1.078 MB / 0.7467 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006086/1.253, allocations: 89.62 kB / 0.7468 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.255, allocations: 300.7 kB / 0.7471 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/1.256, allocations: 340.2 kB / 0.7474 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/1.256, allocations: 147.6 kB / 0.7476 GB, free: 176.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003152/1.259, allocations: 2.537 MB / 0.75 GB, free: 176.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.259, allocations: 0 / 0.75 GB, free: 176.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005717/1.265, allocations: 2.413 MB / 0.7524 GB, free: 175.9 MB / 0.545 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.0005057/1.266, allocations: 259.6 kB / 0.7526 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.277, allocations: 9.021 MB / 0.7615 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.277, allocations: 0 / 0.7615 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006255/1.284, allocations: 4.183 MB / 0.7655 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/1.287, allocations: 0.7147 MB / 0.7662 GB, free: 170.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.31, allocations: 17.07 MB / 0.7829 GB, free: 158.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004627/1.314, allocations: 5.579 MB / 0.7884 GB, free: 154.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006366/1.321, allocations: 3.294 MB / 0.7916 GB, free: 152 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.322, allocations: 406.8 kB / 0.792 GB, free: 151.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.143e-06/1.322, allocations: 0 / 0.792 GB, free: 151.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09407/1.416, allocations: 70.72 MB / 0.861 GB, free: 83.65 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.177306475117803]