Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, allocations: 75.75 kB / 21.24 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 160.6 kB / 24.5 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.27 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09332, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01114/0.1045, allocations: 8.707 MB / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006465/0.1109, allocations: 3.256 MB / 390.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.1117, allocations: 87.56 kB / 391 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008801/0.1205, allocations: 3.78 MB / 394.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.1246, allocations: 1.505 MB / 396.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.1269, allocations: 1.03 MB / 397.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.1375, allocations: 9.353 MB / 406.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/0.1561, allocations: 12.83 MB / 419.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007026/0.1631, allocations: 5.171 MB / 424.6 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009569/0.1727, allocations: 6.052 MB / 430.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002275/0.175, allocations: 1.398 MB / 432.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.1783, allocations: 1.64 MB / 433.7 MB, free: 8.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.1811, allocations: 2.926 MB / 436.7 MB, free: 5.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005978/0.1871, allocations: 4.273 MB / 440.9 MB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01977/0.2069, allocations: 18.99 MB / 459.9 MB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.2069, allocations: 4 kB / 459.9 MB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2069, allocations: 0 / 459.9 MB, free: 14.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003981/0.2073, allocations: 0 / 459.9 MB, free: 14.1 MB / 430.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.03395/0.2412, allocations: 12.38 MB / 472.3 MB, free: 1.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2413, allocations: 11.98 kB / 472.3 MB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3816/0.6228, allocations: 8.42 MB / 480.7 MB, free: 71.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.6346, allocations: 6.02 MB / 486.7 MB, free: 69.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/0.635, allocations: 0.666 MB / 487.4 MB, free: 69.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.6369, allocations: 0.8667 MB / 488.3 MB, free: 69.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.6578, allocations: 16.27 MB / 0.4927 GB, free: 55.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.658, allocations: 15.83 kB / 0.4927 GB, free: 55.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008857/0.6589, allocations: 375.5 kB / 0.4931 GB, free: 55.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003528/0.6592, allocations: 0.5504 MB / 0.4936 GB, free: 54.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.679, allocations: 15.69 MB / 0.509 GB, free: 38.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05075/0.7298, allocations: 41.75 MB / 0.5497 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.7452, allocations: 8.461 MB / 0.558 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/0.7498, allocations: 3.249 MB / 0.5612 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.7501, allocations: 115.9 kB / 0.5613 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/0.7502, allocations: 82.56 kB / 0.5614 GB, free: 1.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.404e-06/0.7502, allocations: 0 / 0.5614 GB, free: 1.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02367/0.7739, allocations: 11.11 MB / 0.5722 GB, free: 6.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.7739, allocations: 125.1 kB / 0.5723 GB, free: 6.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/0.7797, allocations: 3.97 MB / 0.5762 GB, free: 2.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003336/0.78, allocations: 101.7 kB / 0.5763 GB, free: 2.148 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002831/0.7829, allocations: 4.032 MB / 0.5802 GB, free: 14.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.7844, allocations: 1.693 MB / 0.5819 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/0.7866, allocations: 1.496 MB / 0.5833 GB, free: 10.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7868, allocations: 305.1 kB / 0.5836 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/0.7927, allocations: 3.691 MB / 0.5872 GB, free: 6.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008265/0.801, allocations: 6.535 MB / 0.5936 GB, free: 15.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/0.8159, allocations: 10.85 MB / 0.6042 GB, free: 2.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-05/0.816, allocations: 28 kB / 0.6042 GB, free: 2.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.022/0.838, allocations: 11.96 MB / 0.6159 GB, free: 6.785 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.8381, allocations: 44 kB / 0.616 GB, free: 6.742 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/0.8383, allocations: 96 kB / 0.6161 GB, free: 6.648 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004969/0.8432, allocations: 1.613 MB / 0.6176 GB, free: 5.016 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006219/0.8494, allocations: 1.681 MB / 0.6193 GB, free: 3.332 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.8704, allocations: 16.72 MB / 0.6356 GB, free: 2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/0.876, allocations: 0.9586 MB / 0.6365 GB, free: 1.035 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/0.8767, allocations: 367.9 kB / 0.6369 GB, free: 0.6758 MB / 0.5138 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.005609/0.8823, allocations: 3.758 MB / 0.6406 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007601/0.883, allocations: 409.4 kB / 0.641 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.8985, allocations: 8.522 MB / 0.6493 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/0.8986, allocations: 48 kB / 0.6493 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.8986, allocations: 16.06 kB / 0.6493 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/0.8987, allocations: 27.91 kB / 0.6494 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/0.9255, allocations: 14.89 MB / 0.6639 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.9255, allocations: 4 kB / 0.6639 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/0.9291, allocations: 0.8701 MB / 0.6648 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.9339, allocations: 1.514 MB / 0.6662 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/0.9343, allocations: 108 kB / 0.6663 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.215/1.149, allocations: 16.52 MB / 0.6825 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.149, allocations: 9.312 kB / 0.6825 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/1.166, allocations: 12.24 MB / 0.6944 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.168, allocations: 1.08 MB / 0.6955 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.168, allocations: 87.22 kB / 0.6956 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.171, allocations: 298.9 kB / 0.6959 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007029/1.171, allocations: 345.2 kB / 0.6962 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.172, allocations: 142.9 kB / 0.6963 GB, free: 164.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003004/1.175, allocations: 2.542 MB / 0.6988 GB, free: 163.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 0.7188 kB / 0.6988 GB, free: 163.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005762/1.18, allocations: 2.412 MB / 0.7012 GB, free: 163 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.0004847/1.181, allocations: 263 kB / 0.7014 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.192, allocations: 9.017 MB / 0.7102 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.192, allocations: 0 / 0.7102 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005458/1.198, allocations: 4.185 MB / 0.7143 GB, free: 155.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.201, allocations: 0.7142 MB / 0.715 GB, free: 154.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/1.22, allocations: 17.07 MB / 0.7317 GB, free: 139 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/1.225, allocations: 5.58 MB / 0.7371 GB, free: 133.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005729/1.23, allocations: 3.294 MB / 0.7403 GB, free: 130.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.231, allocations: 400.4 kB / 0.7407 GB, free: 129.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.231, allocations: 0 / 0.7407 GB, free: 129.7 MB / 0.545 GB Notification: Performance of Templates: time 0.08688/1.318, allocations: 62.36 MB / 0.8016 GB, free: 67.85 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.986660932074301]