Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.001416/0.001416, allocations: 103.1 kB / 19.75 MB, free: 2.656 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.001323/0.001323, allocations: 189.6 kB / 22.92 MB, free: 5.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 55.16 kB / 345.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2957, allocations: 49.13 MB / 394.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01401/0.3097, allocations: 12.87 MB / 407.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.3213, allocations: 4.308 MB / 411.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.325, allocations: 64.97 kB / 411.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.3291, allocations: 1.021 MB / 412.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.3355, allocations: 1.297 MB / 414.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.3388, allocations: 0.8785 MB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007771/0.3466, allocations: 3.888 MB / 418.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.3498, allocations: 1.747 MB / 420.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.3535, allocations: 1.847 MB / 422.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/0.3584, allocations: 2.087 MB / 424.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3597, allocations: 0.4984 MB / 425 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.3623, allocations: 0.7012 MB / 425.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.3636, allocations: 1.114 MB / 426.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.3672, allocations: 2.073 MB / 428.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009159/0.3763, allocations: 6.608 MB / 435.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3763, allocations: 0 / 435.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3763, allocations: 4 kB / 435.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.3765, allocations: 0 / 435.5 MB, free: 10.68 MB / 350.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.01279/0.3893, allocations: 4.386 MB / 439.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3894, allocations: 8.031 kB / 439.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.3936, allocations: 0.8261 MB / 440.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/0.3986, allocations: 2.252 MB / 443 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.3988, allocations: 238.3 kB / 443.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006714/0.3995, allocations: 315.9 kB / 443.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008183/0.4077, allocations: 4.219 MB / 447.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/0.4078, allocations: 4 kB / 447.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.4081, allocations: 128 kB / 447.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/0.4082, allocations: 150.3 kB / 448.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006709/0.4149, allocations: 3.597 MB / 451.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/0.4367, allocations: 13.04 MB / 464.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008083/0.4447, allocations: 6.764 MB / 471.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.4472, allocations: 1.245 MB / 472.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/0.4541, allocations: 3.715 MB / 476.4 MB, free: 308 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.4541, allocations: 51.56 kB / 476.5 MB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.667e-06/0.4541, allocations: 0 / 476.5 MB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01156/0.4657, allocations: 5.385 MB / 481.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4657, allocations: 64.41 kB / 481.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.4684, allocations: 1.706 MB / 483.6 MB, free: 8.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4685, allocations: 49.7 kB / 483.7 MB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.4696, allocations: 1.438 MB / 485.1 MB, free: 7.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.47, allocations: 452.1 kB / 485.6 MB, free: 6.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.4704, allocations: 287.5 kB / 485.8 MB, free: 6.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4705, allocations: 309 kB / 486.1 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4717, allocations: 0.6442 MB / 486.8 MB, free: 5.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.4732, allocations: 1.11 MB / 487.9 MB, free: 4.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.4759, allocations: 1.871 MB / 489.8 MB, free: 2.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4759, allocations: 4 kB / 489.8 MB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004211/0.4801, allocations: 2.324 MB / 492.1 MB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.4802, allocations: 8 kB / 492.1 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4802, allocations: 19.94 kB / 492.1 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.4809, allocations: 271.4 kB / 492.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.4822, allocations: 351.5 kB / 492.7 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.4883, allocations: 6.206 MB / 498.9 MB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4898, allocations: 71.92 kB / 499 MB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.4899, allocations: 76.08 kB / 499.1 MB, free: 8.512 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001796/0.4917, allocations: 0.9969 MB / 0.4883 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.4921, allocations: 186.8 kB / 0.4885 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.4959, allocations: 2.103 MB / 0.4906 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4959, allocations: 12 kB / 0.4906 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4959, allocations: 4 kB / 0.4906 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.496, allocations: 7.969 kB / 0.4906 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/0.5039, allocations: 4.804 MB / 0.4953 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5039, allocations: 4.344 kB / 0.4953 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.5047, allocations: 175.7 kB / 0.4955 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.5059, allocations: 452 kB / 0.4959 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.506, allocations: 35.98 kB / 0.4959 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.5176, allocations: 11.03 MB / 0.5067 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5176, allocations: 3.938 kB / 0.5067 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.5228, allocations: 2.985 MB / 0.5096 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009185/0.5237, allocations: 415.7 kB / 0.51 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.5239, allocations: 32 kB / 0.5101 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.5248, allocations: 71.88 kB / 0.5101 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.5251, allocations: 96.8 kB / 0.5102 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/0.5252, allocations: 36 kB / 0.5102 GB, free: 52 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.527, allocations: 1.174 MB / 0.5114 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.527, allocations: 0 / 0.5114 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001984/0.529, allocations: 0.5429 MB / 0.5119 GB, free: 14.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 81 * 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,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003345/0.5293, allocations: 163.1 kB / 0.5121 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003414/0.5328, allocations: 2.003 MB / 0.514 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5328, allocations: 4.062 kB / 0.514 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.5351, allocations: 1.491 MB / 0.5155 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.5373, allocations: 0.5134 MB / 0.516 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.5475, allocations: 5.588 MB / 0.5215 GB, free: 4.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.5499, allocations: 2.281 MB / 0.5237 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.5512, allocations: 383.8 kB / 0.524 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.5516, allocations: 123.4 kB / 0.5242 GB, free: 1.574 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5516, allocations: 0 / 0.5242 GB, free: 1.574 MB / 446.1 MB Notification: Performance of Templates: time 0.05577/0.6073, allocations: 28.78 MB / 0.5523 GB, free: 4.738 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.845310070551932]