Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001813/0.001813, allocations: 106.2 kB / 19.8 MB, free: 2.496 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.002289/0.002289, allocations: 215 kB / 23 MB, free: 5.586 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.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.88 kB / 376.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2597, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01711/0.2768, allocations: 13.56 MB / 443.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009919/0.2867, allocations: 4.524 MB / 447.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.2892, allocations: 75.75 kB / 448 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.2923, allocations: 1.045 MB / 449 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.2964, allocations: 1.293 MB / 450.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.2987, allocations: 0.8988 MB / 451.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005138/0.3039, allocations: 3.922 MB / 455.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.3065, allocations: 1.784 MB / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.3092, allocations: 1.865 MB / 458.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.3126, allocations: 2.215 MB / 461 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.3133, allocations: 0.4961 MB / 461.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.3148, allocations: 0.7263 MB / 462.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.3158, allocations: 1.11 MB / 463.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.3181, allocations: 2.081 MB / 465.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007253/0.3253, allocations: 6.655 MB / 472.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3253, allocations: 0 / 472.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3253, allocations: 0 / 472.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.3255, allocations: 0 / 472.1 MB, free: 13.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01167/0.3371, allocations: 4.428 MB / 476.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3372, allocations: 12.03 kB / 476.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.3414, allocations: 0.795 MB / 477.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.3461, allocations: 2.42 MB / 479.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.3463, allocations: 238.2 kB / 480 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006698/0.3469, allocations: 308 kB / 480.3 MB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007957/0.3549, allocations: 4.234 MB / 484.5 MB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.355, allocations: 0 / 484.5 MB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.3553, allocations: 135.9 kB / 484.6 MB, free: 332 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.3555, allocations: 146.2 kB / 484.8 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006808/0.3623, allocations: 3.624 MB / 488.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.3849, allocations: 13.14 MB / 0.4898 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007982/0.3928, allocations: 7.047 MB / 0.4967 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/0.3959, allocations: 1.516 MB / 0.4981 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007375/0.4033, allocations: 4.214 MB / 0.5023 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.4033, allocations: 43.56 kB / 0.5023 GB, free: 1.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.755e-06/0.4033, allocations: 4 kB / 0.5023 GB, free: 1.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01167/0.415, allocations: 5.596 MB / 0.5078 GB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4151, allocations: 68.39 kB / 0.5078 GB, free: 11.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.4179, allocations: 1.715 MB / 0.5095 GB, free: 9.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.418, allocations: 45.7 kB / 0.5095 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.4192, allocations: 1.462 MB / 0.511 GB, free: 8.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.4196, allocations: 456.1 kB / 0.5114 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004977/0.4201, allocations: 283.5 kB / 0.5117 GB, free: 7.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4202, allocations: 301.1 kB / 0.512 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.4214, allocations: 0.6597 MB / 0.5126 GB, free: 6.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.423, allocations: 1.125 MB / 0.5137 GB, free: 5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.4259, allocations: 1.898 MB / 0.5156 GB, free: 2.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4259, allocations: 4 kB / 0.5156 GB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00429/0.4302, allocations: 2.414 MB / 0.5179 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4302, allocations: 12 kB / 0.5179 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.4302, allocations: 16 kB / 0.518 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008329/0.4311, allocations: 318.9 kB / 0.5183 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4324, allocations: 347.5 kB / 0.5186 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/0.4395, allocations: 6.626 MB / 0.5251 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4408, allocations: 75.84 kB / 0.5251 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4409, allocations: 71.98 kB / 0.5252 GB, free: 8.559 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.4426, allocations: 1.001 MB / 0.5262 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.443, allocations: 190.8 kB / 0.5264 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/0.4471, allocations: 2.19 MB / 0.5285 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4471, allocations: 12 kB / 0.5285 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.4471, allocations: 8.188 kB / 0.5285 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4471, allocations: 11.95 kB / 0.5285 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.4553, allocations: 4.937 MB / 0.5333 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4553, allocations: 0 / 0.5333 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1915/0.6468, allocations: 166.5 kB / 0.5335 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.6483, allocations: 497.5 kB / 0.534 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6484, allocations: 36.22 kB / 0.534 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.6569, allocations: 11.46 MB / 0.5452 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6569, allocations: 16.06 kB / 0.5452 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.6613, allocations: 3.099 MB / 0.5482 GB, free: 89.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.662, allocations: 417.5 kB / 0.5486 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.6622, allocations: 31.72 kB / 0.5487 GB, free: 89.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.6631, allocations: 66.75 kB / 0.5487 GB, free: 89.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.6633, allocations: 99.62 kB / 0.5488 GB, free: 89.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.6634, allocations: 39.14 kB / 0.5489 GB, free: 89.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.6647, allocations: 1.183 MB / 0.55 GB, free: 88.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6647, allocations: 0 / 0.55 GB, free: 88.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001674/0.6664, allocations: 0.5461 MB / 0.5506 GB, free: 88.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002897/0.6667, allocations: 165.2 kB / 0.5507 GB, free: 88.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.6694, allocations: 2.065 MB / 0.5527 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6694, allocations: 3.938 kB / 0.5527 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.6712, allocations: 1.504 MB / 0.5542 GB, free: 86.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6731, allocations: 0.517 MB / 0.5547 GB, free: 86.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.6806, allocations: 5.603 MB / 0.5602 GB, free: 83.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.682, allocations: 2.286 MB / 0.5624 GB, free: 81.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.6832, allocations: 387 kB / 0.5628 GB, free: 81.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.6836, allocations: 123.2 kB / 0.5629 GB, free: 80.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.6836, allocations: 0 / 0.5629 GB, free: 80.95 MB / 446.1 MB Notification: Performance of Templates: time 0.04173/0.7253, allocations: 29.44 MB / 0.5917 GB, free: 52.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.764619365334511]