Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 204.3 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 373.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09747, allocations: 53.33 MB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2078/0.3053, allocations: 13.5 MB / 440.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.3135, allocations: 4.522 MB / 444.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.3158, allocations: 100.5 kB / 444.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.3186, allocations: 1.037 MB / 446 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.3228, allocations: 1.287 MB / 447.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.3254, allocations: 0.882 MB / 448.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005895/0.3313, allocations: 3.939 MB / 452.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.3345, allocations: 2.25 MB / 454.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.3377, allocations: 1.892 MB / 456.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.3417, allocations: 2.21 MB / 458.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009903/0.3427, allocations: 0.4986 MB / 458.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.3447, allocations: 0.7235 MB / 459.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.3458, allocations: 1.116 MB / 460.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.3488, allocations: 2.087 MB / 462.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008699/0.3575, allocations: 6.649 MB / 469.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3575, allocations: 1.531 kB / 469.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3575, allocations: 0 / 469.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001531/0.3576, allocations: 4 kB / 469.5 MB, free: 2.957 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01398/0.3716, allocations: 4.412 MB / 473.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3717, allocations: 11.09 kB / 473.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.3764, allocations: 0.8058 MB / 474.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.3815, allocations: 2.42 MB / 477.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3817, allocations: 235.5 kB / 477.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005936/0.3823, allocations: 315.9 kB / 477.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00843/0.3907, allocations: 4.232 MB / 481.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.156e-05/0.3908, allocations: 4 kB / 481.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/0.3911, allocations: 124 kB / 482.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.3913, allocations: 150.3 kB / 482.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/0.3987, allocations: 3.62 MB / 485.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02372/0.4224, allocations: 13.14 MB / 499 MB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00809/0.4305, allocations: 7.035 MB / 0.4941 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.4338, allocations: 1.52 MB / 0.4956 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008316/0.4421, allocations: 4.215 MB / 0.4997 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.4422, allocations: 48.44 kB / 0.4998 GB, free: 9.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.687e-06/0.4422, allocations: 3.938 kB / 0.4998 GB, free: 9.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01257/0.4547, allocations: 5.589 MB / 0.5053 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4548, allocations: 68.41 kB / 0.5053 GB, free: 4.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/0.4575, allocations: 1.73 MB / 0.507 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.4576, allocations: 45.7 kB / 0.5071 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4588, allocations: 1.454 MB / 0.5085 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.4592, allocations: 452.1 kB / 0.5089 GB, free: 436 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.4597, allocations: 291.5 kB / 0.5092 GB, free: 140 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4599, allocations: 301.1 kB / 0.5095 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4611, allocations: 0.6559 MB / 0.5101 GB, free: 15.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4627, allocations: 1.125 MB / 0.5112 GB, free: 13.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.4658, allocations: 1.894 MB / 0.5131 GB, free: 11.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4658, allocations: 4 kB / 0.5131 GB, free: 11.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004551/0.4703, allocations: 2.418 MB / 0.5154 GB, free: 9.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.4704, allocations: 12 kB / 0.5154 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4704, allocations: 16 kB / 0.5155 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/0.4713, allocations: 319.4 kB / 0.5158 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.4727, allocations: 355.4 kB / 0.5161 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.48, allocations: 6.611 MB / 0.5226 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.4817, allocations: 83.91 kB / 0.5226 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.4819, allocations: 67.98 kB / 0.5227 GB, free: 1.426 MB / 430.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.001974/0.4838, allocations: 0.997 MB / 0.5237 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.4843, allocations: 194.8 kB / 0.5239 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.4887, allocations: 2.198 MB / 0.526 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4887, allocations: 12 kB / 0.526 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4887, allocations: 7.938 kB / 0.526 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.4887, allocations: 11.97 kB / 0.526 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008877/0.4976, allocations: 4.929 MB / 0.5308 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4976, allocations: 8.188 kB / 0.5309 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.4984, allocations: 171.7 kB / 0.531 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.4999, allocations: 499.9 kB / 0.5315 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.5, allocations: 35.98 kB / 0.5315 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.5132, allocations: 11.46 MB / 0.5427 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5132, allocations: 4.031 kB / 0.5427 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005857/0.519, allocations: 3.097 MB / 0.5458 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.5201, allocations: 427.7 kB / 0.5462 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.5204, allocations: 35.98 kB / 0.5462 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.5213, allocations: 59.95 kB / 0.5462 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.5216, allocations: 104.7 kB / 0.5463 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.5217, allocations: 43.98 kB / 0.5464 GB, free: 8.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.5237, allocations: 1.182 MB / 0.5475 GB, free: 6.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5237, allocations: 4 kB / 0.5476 GB, free: 6.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002241/0.5259, allocations: 0.5391 MB / 0.5481 GB, free: 6.41 MB / 462.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.0003465/0.5263, allocations: 159 kB / 0.5482 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.5301, allocations: 2.065 MB / 0.5502 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5301, allocations: 4 kB / 0.5502 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.5327, allocations: 1.499 MB / 0.5517 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.5352, allocations: 0.5164 MB / 0.5522 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5456, allocations: 5.57 MB / 0.5577 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/0.5479, allocations: 2.281 MB / 0.5599 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001314/0.5492, allocations: 383.9 kB / 0.5603 GB, free: 9.734 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.5496, allocations: 123.4 kB / 0.5604 GB, free: 9.613 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5496, allocations: 0 / 0.5604 GB, free: 9.613 MB / 478.1 MB Notification: Performance of Templates: time 0.05721/0.6068, allocations: 29.03 MB / 0.5887 GB, free: 12.89 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.011618677526712]