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.001948/0.001948, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002505/0.002505, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.001989/0.001989, allocations: 63.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2473, allocations: 53.41 MB / 431.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00804/0.2554, allocations: 5.897 MB / 437.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.26, allocations: 2.16 MB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.2606, allocations: 51.69 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.2616, allocations: 385.5 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.2639, allocations: 0.8511 MB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.2646, allocations: 350.3 kB / 441.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003571/0.2682, allocations: 3.199 MB / 444.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.2696, allocations: 1.074 MB / 445.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.2711, allocations: 1.336 MB / 446.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.2733, allocations: 1.689 MB / 448.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.2737, allocations: 296 kB / 448.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.2746, allocations: 423.9 kB / 449.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007858/0.2754, allocations: 0.8645 MB / 450.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.2766, allocations: 1.194 MB / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.2807, allocations: 4.143 MB / 455.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2807, allocations: 7.922 kB / 455.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2807, allocations: 4 kB / 455.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.2807, allocations: 0 / 455.5 MB, free: 14.46 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.007717/0.2884, allocations: 3.478 MB / 459 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2885, allocations: 19.83 kB / 459 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.2927, allocations: 0.7524 MB / 459.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.2963, allocations: 1.687 MB / 461.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.2965, allocations: 173 kB / 461.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.2968, allocations: 236.1 kB / 461.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/0.3025, allocations: 3.441 MB / 465.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.3025, allocations: 3.938 kB / 465.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.3027, allocations: 96 kB / 465.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/0.3028, allocations: 83.23 kB / 465.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.3079, allocations: 2.866 MB / 468.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.3221, allocations: 8.055 MB / 476.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.3261, allocations: 1.833 MB / 478.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3273, allocations: 0.7667 MB / 479 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003971/0.3313, allocations: 2.051 MB / 481.1 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.3313, allocations: 42.89 kB / 481.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.625e-06/0.3313, allocations: 0 / 481.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007912/0.3392, allocations: 4.14 MB / 485.2 MB, free: 104 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.3393, allocations: 115.2 kB / 485.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.3415, allocations: 1.584 MB / 486.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.3415, allocations: 49.7 kB / 487 MB, free: 14.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.3424, allocations: 1.148 MB / 488.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.3427, allocations: 372.9 kB / 488.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3431, allocations: 242.8 kB / 488.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3432, allocations: 361.9 kB / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3443, allocations: 0.6349 MB / 489.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.3457, allocations: 1.012 MB / 490.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.3482, allocations: 1.712 MB / 492.5 MB, free: 8.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3482, allocations: 0 / 492.5 MB, free: 8.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003544/0.3518, allocations: 1.946 MB / 494.4 MB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3518, allocations: 14.44 kB / 494.4 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3518, allocations: 12 kB / 494.4 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.3522, allocations: 126.2 kB / 494.5 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.3535, allocations: 335.5 kB / 494.9 MB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.3567, allocations: 3.17 MB / 498 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/0.3577, allocations: 95.67 kB / 498.1 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.3578, allocations: 59.97 kB / 498.2 MB, free: 2.535 MB / 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.001334/0.3591, allocations: 0.8369 MB / 499 MB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.3594, allocations: 151.1 kB / 499.2 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.362, allocations: 1.393 MB / 0.4888 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.362, allocations: 12 kB / 0.4889 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.362, allocations: 4 kB / 0.4889 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.362, allocations: 7.922 kB / 0.4889 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.3657, allocations: 1.96 MB / 0.4908 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.3657, allocations: 4 kB / 0.4908 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.3665, allocations: 183.8 kB / 0.491 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006469/0.3672, allocations: 258.2 kB / 0.4912 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.3672, allocations: 35.97 kB / 0.4912 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006161/0.3734, allocations: 5.825 MB / 0.4969 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3734, allocations: 8.094 kB / 0.4969 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.3776, allocations: 2.546 MB / 0.4994 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.3782, allocations: 182.8 kB / 0.4996 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.3784, allocations: 28 kB / 0.4996 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.3794, allocations: 95.89 kB / 0.4997 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.3797, allocations: 100 kB / 0.4998 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.3798, allocations: 35.98 kB / 0.4998 GB, free: 4.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.3818, allocations: 1.095 MB / 0.5009 GB, free: 3.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3818, allocations: 0 / 0.5009 GB, free: 3.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001609/0.3834, allocations: 448 kB / 0.5013 GB, free: 2.922 MB / 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.0003264/0.3837, allocations: 163 kB / 0.5015 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.3868, allocations: 1.671 MB / 0.5031 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3868, allocations: 0 / 0.5031 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.3888, allocations: 1.145 MB / 0.5042 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.3903, allocations: 265.3 kB / 0.5045 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/0.398, allocations: 4.751 MB / 0.5091 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.3998, allocations: 1.542 MB / 0.5106 GB, free: 9.219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001134/0.401, allocations: 447.2 kB / 0.5111 GB, free: 8.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.4013, allocations: 103.4 kB / 0.5112 GB, free: 8.676 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4013, allocations: 0 / 0.5112 GB, free: 8.676 MB / 430.1 MB Notification: Performance of Templates: time 0.03874/0.44, allocations: 22.03 MB / 0.5327 GB, free: 2.926 MB / 446.1 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: 5.544913921505213]