Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 146.4 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 173.4 MB / 200.4 MB, free: 12.85 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.194e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004563/0.004585, allocations: 4.213 MB / 323.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.007271, allocations: 1.591 MB / 324.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.007601, allocations: 35.94 kB / 324.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.008224, allocations: 270 kB / 325 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.009975, allocations: 0.7005 MB / 325.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.01051, allocations: 228.6 kB / 325.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.01285, allocations: 1.942 MB / 327.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009667/0.01382, allocations: 0.6678 MB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.01532, allocations: 1.148 MB / 329.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.01685, allocations: 0.9223 MB / 330.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.01713, allocations: 186 kB / 330.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.01779, allocations: 304.3 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005983/0.01839, allocations: 0.5639 MB / 331.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008686/0.01926, allocations: 0.6193 MB / 332.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.02225, allocations: 2.612 MB / 334.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.02226, allocations: 4 kB / 334.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02226, allocations: 1.375 kB / 334.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.02229, allocations: 0 / 334.9 MB, free: 10.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005013/0.0273, allocations: 2.132 MB / 337 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.02734, allocations: 10.77 kB / 337.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.02936, allocations: 369.7 kB / 337.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.03156, allocations: 1.053 MB / 338.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.03167, allocations: 101.8 kB / 338.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.03191, allocations: 131.8 kB / 338.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.03545, allocations: 2.037 MB / 340.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.03548, allocations: 3.938 kB / 340.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.03563, allocations: 56 kB / 340.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.03569, allocations: 49.98 kB / 340.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.03871, allocations: 1.684 MB / 342.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008736/0.04745, allocations: 4.822 MB / 347.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.05013, allocations: 1.067 MB / 348.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/0.05097, allocations: 479.1 kB / 348.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/0.05332, allocations: 1.226 MB / 350.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.05336, allocations: 50.45 kB / 350.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.05336, allocations: 0 / 350.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003482/0.05684, allocations: 1.324 MB / 351.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.05691, allocations: 85.11 kB / 351.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.05843, allocations: 1.005 MB / 352.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.0585, allocations: 45.69 kB / 352.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.05909, allocations: 0.6871 MB / 353.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.05928, allocations: 194.3 kB / 353.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.05952, allocations: 126.3 kB / 353.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.05968, allocations: 333.9 kB / 353.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/0.06036, allocations: 361.3 kB / 354.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.06118, allocations: 0.5131 MB / 354.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.06265, allocations: 0.8788 MB / 355.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.06266, allocations: 3.938 kB / 355.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001917/0.06457, allocations: 1.021 MB / 356.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.06459, allocations: 4 kB / 356.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.06461, allocations: 8 kB / 356.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.06464, allocations: 8 kB / 356.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.06546, allocations: 183.7 kB / 356.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.06548, allocations: 8 kB / 356.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.0662, allocations: 95.52 kB / 357 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.06626, allocations: 24 kB / 357 MB, free: 4.895 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009321/0.06719, allocations: 0.5286 MB / 357.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.06743, allocations: 87.44 kB / 357.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.06888, allocations: 0.6772 MB / 358.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.06889, allocations: 8 kB / 358.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.0689, allocations: 8 kB / 358.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.06891, allocations: 3.984 kB / 358.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.07157, allocations: 1.348 MB / 359.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.07157, allocations: 7.984 kB / 359.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.07208, allocations: 91.88 kB / 359.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.07254, allocations: 147.4 kB / 359.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.0726, allocations: 19.98 kB / 359.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.07602, allocations: 2.696 MB / 362.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.07602, allocations: 4.031 kB / 362.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.07849, allocations: 1.47 MB / 364.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.07879, allocations: 111.4 kB / 364.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.07894, allocations: 19.98 kB / 364.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.07954, allocations: 55.94 kB / 364.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.07969, allocations: 63.83 kB / 364.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.07974, allocations: 15.98 kB / 364.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.08083, allocations: 0.7098 MB / 365.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08083, allocations: 0 / 365.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001153/0.08198, allocations: 362.8 kB / 365.4 MB, free: 12.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.08228, allocations: 150.9 kB / 365.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.08374, allocations: 0.7604 MB / 366.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.08375, allocations: 4 kB / 366.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.08489, allocations: 0.5669 MB / 366.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.08591, allocations: 167.7 kB / 367.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.09085, allocations: 2.68 MB / 369.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.09201, allocations: 0.905 MB / 370.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006167/0.09262, allocations: 238.5 kB / 370.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.09283, allocations: 56.5 kB / 371 MB, free: 6.664 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.09283, allocations: 4 kB / 371 MB, free: 6.66 MB / 334.1 MB Notification: Performance of Templates: time 0.02386/0.1167, allocations: 11.37 MB / 382.3 MB, free: 11.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.593796458095312]