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.0009948/0.0009948, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004457/0.004457, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8525/0.8525, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.966e-05, allocations: 11.2 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004619/0.004639, allocations: 5.915 MB / 331.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.007148, allocations: 2.16 MB / 333.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.007471, allocations: 55.62 kB / 333.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.008014, allocations: 377.4 kB / 334.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.009243, allocations: 0.8698 MB / 335.1 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.009697, allocations: 362.5 kB / 335.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.01175, allocations: 3.299 MB / 338.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.01262, allocations: 1.074 MB / 339.9 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.01382, allocations: 1.875 MB / 341.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.01489, allocations: 1.532 MB / 343.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.0151, allocations: 292 kB / 343.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.01554, allocations: 427.7 kB / 344 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.01598, allocations: 0.884 MB / 344.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006038/0.01658, allocations: 1.009 MB / 345.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.01893, allocations: 4.176 MB / 350 MB, free: 6.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01893, allocations: 8 kB / 350.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01893, allocations: 0 / 350.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.01895, allocations: 0 / 350.1 MB, free: 6.949 MB / 314.7 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.003875/0.02283, allocations: 3.451 MB / 353.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.02286, allocations: 11.98 kB / 353.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.02479, allocations: 0.7641 MB / 354.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.02649, allocations: 1.678 MB / 356 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.02657, allocations: 169 kB / 356.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.02679, allocations: 240.2 kB / 356.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.03002, allocations: 3.445 MB / 359.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.03005, allocations: 3.938 kB / 359.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.0302, allocations: 96 kB / 359.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.03025, allocations: 83.23 kB / 360 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.03303, allocations: 2.866 MB / 362.9 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008277/0.04131, allocations: 8.055 MB / 370.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.04354, allocations: 1.839 MB / 372.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.04426, allocations: 0.7567 MB / 373.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.04654, allocations: 2.055 MB / 375.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.04656, allocations: 50.75 kB / 375.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 2.544e-06/0.04656, allocations: 0 / 375.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.004428/0.05099, allocations: 4.142 MB / 379.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.05105, allocations: 115.3 kB / 379.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.05235, allocations: 1.588 MB / 381.5 MB, free: 6.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.0524, allocations: 45.7 kB / 381.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.05304, allocations: 1.148 MB / 382.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.05321, allocations: 364.9 kB / 383 MB, free: 5.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.05344, allocations: 246.8 kB / 383.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.05353, allocations: 361.9 kB / 383.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.05415, allocations: 0.6349 MB / 384.2 MB, free: 4.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.05492, allocations: 1.008 MB / 385.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.05633, allocations: 1.702 MB / 386.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.05634, allocations: 4 kB / 386.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001973/0.05831, allocations: 1.94 MB / 388.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.05833, allocations: 15.94 kB / 388.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.05835, allocations: 16.55 kB / 388.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.05857, allocations: 137.6 kB / 389 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.05918, allocations: 327.5 kB / 389.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.06089, allocations: 3.158 MB / 392.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.06135, allocations: 99.8 kB / 392.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.06141, allocations: 63.98 kB / 392.7 MB, free: 11.05 MB / 362.7 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.0009334/0.06235, allocations: 0.8289 MB / 393.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.06249, allocations: 155 kB / 393.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.06389, allocations: 1.383 MB / 395.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.06389, allocations: 15.98 kB / 395.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.0639, allocations: 4 kB / 395.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.06391, allocations: 3.984 kB / 395.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.06596, allocations: 1.963 MB / 397 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.06596, allocations: 7.984 kB / 397 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.06635, allocations: 179.8 kB / 397.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/0.06669, allocations: 268.6 kB / 397.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.06674, allocations: 36.03 kB / 397.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/0.06998, allocations: 5.826 MB / 403.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.06998, allocations: 0 / 403.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.0722, allocations: 2.546 MB / 405.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.07237, allocations: 186.8 kB / 406.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.07247, allocations: 28 kB / 406.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.07287, allocations: 95.83 kB / 406.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.07301, allocations: 96.31 kB / 406.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.07305, allocations: 31.98 kB / 406.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009043/0.07396, allocations: 1.095 MB / 407.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07396, allocations: 4 kB / 407.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009259/0.07488, allocations: 455.9 kB / 407.9 MB, free: 11.44 MB / 378.7 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.0002416/0.07513, allocations: 171.2 kB / 408 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.07675, allocations: 1.657 MB / 409.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.07675, allocations: 0.625 kB / 409.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.07778, allocations: 1.149 MB / 410.8 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.07857, allocations: 265.2 kB / 411.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.08258, allocations: 4.532 MB / 415.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/0.08348, allocations: 1.475 MB / 417.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.08392, allocations: 112.5 kB / 417.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.08392, allocations: 0 / 417.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of Templates: time 0.1581/0.242, allocations: 58.51 MB / 475.7 MB, free: 99.81 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 6.518284701742232]