Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001345/0.001345, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001592/0.001592, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.421/1.421, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2382, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008353/0.2466, allocations: 6.707 MB / 439.2 MB, free: 28 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.251, allocations: 2.293 MB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.2517, allocations: 51.69 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000904/0.2526, allocations: 385.4 kB / 441.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.2547, allocations: 0.8667 MB / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2555, allocations: 365.4 kB / 443.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.2595, allocations: 3.199 MB / 446.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.2611, allocations: 1.102 MB / 447.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.2629, allocations: 1.343 MB / 448.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.2654, allocations: 1.662 MB / 450.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.2658, allocations: 292 kB / 450.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.2668, allocations: 427.9 kB / 451.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008349/0.2676, allocations: 0.8607 MB / 452 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.2694, allocations: 1.47 MB / 453.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.274, allocations: 4.127 MB / 457.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.274, allocations: 0 / 457.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.274, allocations: 0 / 457.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.565e-05/0.2741, allocations: 0 / 457.6 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.00888/0.2829, allocations: 3.49 MB / 461.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.283, allocations: 12.03 kB / 461.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.2874, allocations: 0.7524 MB / 461.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.2918, allocations: 1.687 MB / 463.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.292, allocations: 169 kB / 463.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008821/0.2929, allocations: 236.1 kB / 463.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008111/0.301, allocations: 3.219 MB / 467.1 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.3011, allocations: 4 kB / 467.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.3015, allocations: 99.98 kB / 467.2 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3016, allocations: 75.31 kB / 467.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005748/0.3073, allocations: 2.882 MB / 470.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.3258, allocations: 9.208 MB / 479.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.3301, allocations: 1.847 MB / 481.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3314, allocations: 0.7711 MB / 482 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004679/0.3361, allocations: 2.237 MB / 484.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.3362, allocations: 54.77 kB / 484.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.545e-06/0.3362, allocations: 0 / 484.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009361/0.3455, allocations: 4.139 MB / 488.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.3456, allocations: 115.2 kB / 488.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.3483, allocations: 1.621 MB / 490.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3485, allocations: 45.7 kB / 490.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009376/0.3494, allocations: 1.145 MB / 491.4 MB, free: 11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.3498, allocations: 372.8 kB / 491.7 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/0.3502, allocations: 242.8 kB / 492 MB, free: 10.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3504, allocations: 353.9 kB / 492.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.3516, allocations: 0.6426 MB / 492.9 MB, free: 9.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.353, allocations: 1.008 MB / 493.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.3558, allocations: 1.705 MB / 495.7 MB, free: 6.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.3558, allocations: 4 kB / 495.7 MB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003853/0.3596, allocations: 1.954 MB / 497.6 MB, free: 4.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.3597, allocations: 12 kB / 497.6 MB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.3597, allocations: 12 kB / 497.6 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.3601, allocations: 125.6 kB / 497.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.3615, allocations: 335.7 kB / 498.1 MB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/0.365, allocations: 3.22 MB / 0.4896 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3663, allocations: 103.7 kB / 0.4897 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.3665, allocations: 56 kB / 0.4897 GB, free: 320 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001656/0.3681, allocations: 0.8347 MB / 0.4905 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.3686, allocations: 159 kB / 0.4907 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.3718, allocations: 1.393 MB / 0.492 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3718, allocations: 15.94 kB / 0.4921 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.3718, allocations: 4 kB / 0.4921 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.3718, allocations: 7.969 kB / 0.4921 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.3773, allocations: 2.452 MB / 0.4945 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.3773, allocations: 0 / 0.4945 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.3783, allocations: 183.8 kB / 0.4946 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.3791, allocations: 254.4 kB / 0.4949 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.3792, allocations: 36.25 kB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/0.3859, allocations: 5.94 MB / 0.5007 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3859, allocations: 4.031 kB / 0.5007 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.3906, allocations: 2.561 MB / 0.5032 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.3912, allocations: 186.8 kB / 0.5034 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.3915, allocations: 31.98 kB / 0.5034 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.3926, allocations: 87.91 kB / 0.5035 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.3928, allocations: 100.2 kB / 0.5036 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.3929, allocations: 35.98 kB / 0.5036 GB, free: 1.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.3949, allocations: 1.132 MB / 0.5047 GB, free: 444 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3949, allocations: 0 / 0.5047 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001832/0.3967, allocations: 444 kB / 0.5052 GB, free: 0 / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.3971, allocations: 163 kB / 0.5053 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.4003, allocations: 1.663 MB / 0.5069 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.4003, allocations: 5.688 kB / 0.507 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.4025, allocations: 1.145 MB / 0.5081 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.4045, allocations: 289 kB / 0.5083 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.4135, allocations: 4.737 MB / 0.513 GB, free: 7.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.4157, allocations: 2.046 MB / 0.515 GB, free: 5.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.4162, allocations: 119.4 kB / 0.5151 GB, free: 5.676 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4162, allocations: 4 kB / 0.5151 GB, free: 5.672 MB / 430.1 MB Notification: Performance of Templates: time 0.2477/0.6639, allocations: 57.79 MB / 0.5715 GB, free: 74.98 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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: 11.00834892084822]