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.001705/0.001705, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001991/0.001991, allocations: 212.7 kB / 24.48 MB, free: 3.977 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001568/0.001568, allocations: 55.91 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01134/0.2221, allocations: 8.713 MB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006458/0.2286, allocations: 3.244 MB / 444.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.2296, allocations: 83.62 kB / 444.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008642/0.2383, allocations: 3.592 MB / 448 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.2423, allocations: 1.537 MB / 449.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.2445, allocations: 1.02 MB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009809/0.2543, allocations: 9.345 MB / 459.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.018/0.2723, allocations: 12.95 MB / 472.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006618/0.2789, allocations: 5.179 MB / 478 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008859/0.2878, allocations: 6.165 MB / 484.2 MB, free: 2.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002685/0.2905, allocations: 1.402 MB / 485.6 MB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.2943, allocations: 1.648 MB / 487.2 MB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.2971, allocations: 2.927 MB / 490.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006275/0.3034, allocations: 4.269 MB / 494.4 MB, free: 8.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.3223, allocations: 18.99 MB / 0.5014 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3223, allocations: 7.938 kB / 0.5014 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3223, allocations: 0 / 0.5014 GB, free: 5.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003019/0.3226, allocations: 0 / 0.5014 GB, free: 5.293 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.03088/0.3534, allocations: 12.38 MB / 0.5135 GB, free: 8.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3535, allocations: 8.031 kB / 0.5135 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04997/0.4034, allocations: 8.417 MB / 0.5217 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.4182, allocations: 6.023 MB / 0.5276 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005905/0.4188, allocations: 0.67 MB / 0.5282 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002634/0.4214, allocations: 0.8593 MB / 0.5291 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3751/0.7965, allocations: 16.27 MB / 0.545 GB, free: 82.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.7967, allocations: 14.62 kB / 0.545 GB, free: 82.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009463/0.7977, allocations: 370.2 kB / 0.5453 GB, free: 82.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.798, allocations: 0.5564 MB / 0.5459 GB, free: 82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/0.8199, allocations: 15.7 MB / 0.5612 GB, free: 75.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05512/0.875, allocations: 41.73 MB / 0.6019 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.8875, allocations: 8.458 MB / 0.6102 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/0.8911, allocations: 3.241 MB / 0.6134 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.8914, allocations: 115.9 kB / 0.6135 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.8914, allocations: 90.5 kB / 0.6136 GB, free: 22.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.805e-06/0.8914, allocations: 0 / 0.6136 GB, free: 22.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01901/0.9104, allocations: 11.1 MB / 0.6244 GB, free: 11.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.9105, allocations: 129.1 kB / 0.6245 GB, free: 11.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.9146, allocations: 3.967 MB / 0.6284 GB, free: 7.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003281/0.915, allocations: 97.7 kB / 0.6285 GB, free: 7.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.9163, allocations: 4.05 MB / 0.6325 GB, free: 3.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009495/0.9173, allocations: 1.68 MB / 0.6341 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/0.919, allocations: 1.493 MB / 0.6356 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.9191, allocations: 301.1 kB / 0.6358 GB, free: 496 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005455/0.9245, allocations: 3.699 MB / 0.6395 GB, free: 12.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00798/0.9325, allocations: 6.527 MB / 0.6458 GB, free: 4.949 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/0.9469, allocations: 10.85 MB / 0.6564 GB, free: 8.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.639e-05/0.947, allocations: 28 kB / 0.6565 GB, free: 8.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02071/0.9677, allocations: 11.96 MB / 0.6681 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.9678, allocations: 48 kB / 0.6682 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/0.9679, allocations: 92 kB / 0.6683 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/0.9731, allocations: 1.625 MB / 0.6699 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006189/0.9793, allocations: 1.673 MB / 0.6715 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/1, allocations: 16.72 MB / 0.6878 GB, free: 7.914 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.006, allocations: 0.9703 MB / 0.6888 GB, free: 6.938 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000802/1.006, allocations: 367.9 kB / 0.6891 GB, free: 6.578 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.005755/1.012, allocations: 3.754 MB / 0.6928 GB, free: 2.809 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/1.013, allocations: 409.4 kB / 0.6932 GB, free: 2.406 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.029, allocations: 8.522 MB / 0.7015 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/1.029, allocations: 48 kB / 0.7015 GB, free: 9.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/1.029, allocations: 12 kB / 0.7015 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/1.029, allocations: 31.89 kB / 0.7016 GB, free: 9.707 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02852/1.058, allocations: 14.89 MB / 0.7161 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.058, allocations: 4 kB / 0.7161 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/1.061, allocations: 0.8698 MB / 0.717 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/1.066, allocations: 1.511 MB / 0.7184 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/1.067, allocations: 104 kB / 0.7185 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/1.087, allocations: 16.55 MB / 0.7347 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.087, allocations: 7.938 kB / 0.7347 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2144/1.302, allocations: 12.23 MB / 0.7467 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003105/1.305, allocations: 1.082 MB / 0.7477 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.306, allocations: 84.41 kB / 0.7478 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.309, allocations: 302.9 kB / 0.7481 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006399/1.31, allocations: 345.5 kB / 0.7484 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/1.31, allocations: 140.8 kB / 0.7485 GB, free: 172.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002824/1.313, allocations: 2.54 MB / 0.751 GB, free: 171.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.313, allocations: 0 / 0.751 GB, free: 171.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005824/1.318, allocations: 2.411 MB / 0.7534 GB, free: 171.6 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.0005574/1.319, allocations: 267 kB / 0.7536 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.331, allocations: 9.015 MB / 0.7624 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.331, allocations: 0 / 0.7624 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005733/1.336, allocations: 4.18 MB / 0.7665 GB, free: 166 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.34, allocations: 0.7172 MB / 0.7672 GB, free: 165.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.361, allocations: 17.07 MB / 0.7839 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004909/1.366, allocations: 5.587 MB / 0.7893 GB, free: 151.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006244/1.372, allocations: 3.291 MB / 0.7926 GB, free: 149.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.373, allocations: 401 kB / 0.7929 GB, free: 148.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.373, allocations: 0 / 0.7929 GB, free: 148.7 MB / 0.545 GB Notification: Performance of Templates: time 0.0972/1.47, allocations: 74.46 MB / 0.8657 GB, free: 75.98 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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: 7.99347239099734]