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.001576/0.001576, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.0021/0.0021, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.614/1.614, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.001933/0.001933, allocations: 59.89 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2913, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01685/0.3081, allocations: 11.79 MB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009691/0.3178, allocations: 4.264 MB / 448.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.3206, allocations: 95.44 kB / 448.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.3246, allocations: 0.9746 MB / 449.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005481/0.3301, allocations: 1.289 MB / 450.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.3333, allocations: 0.8759 MB / 451.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007676/0.341, allocations: 3.922 MB / 455.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.3439, allocations: 1.711 MB / 457.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.3471, allocations: 1.901 MB / 459.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.3516, allocations: 2.094 MB / 461.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007648/0.3523, allocations: 0.4961 MB / 461.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.3537, allocations: 0.7028 MB / 462.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.3548, allocations: 1.106 MB / 463.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.3567, allocations: 1.646 MB / 465.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008794/0.3655, allocations: 6.684 MB / 472 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3655, allocations: 0 / 472 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3655, allocations: 0 / 472 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.3657, allocations: 0 / 472 MB, free: 14.78 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.01288/0.3786, allocations: 4.34 MB / 476.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3787, allocations: 11.98 kB / 476.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.3831, allocations: 0.8066 MB / 477.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/0.3883, allocations: 2.341 MB / 479.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.3885, allocations: 234.2 kB / 479.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/0.3892, allocations: 315.9 kB / 480 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008217/0.3974, allocations: 4.381 MB / 484.4 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-05/0.3974, allocations: 4 kB / 484.4 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.3978, allocations: 132 kB / 484.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.3979, allocations: 146.3 kB / 484.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.4052, allocations: 3.609 MB / 488.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.4282, allocations: 11.18 MB / 499.4 MB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00563/0.4339, allocations: 2.654 MB / 0.4903 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.437, allocations: 1.503 MB / 0.4918 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007015/0.444, allocations: 3.329 MB / 0.4951 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.444, allocations: 51.56 kB / 0.4951 GB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.067e-06/0.444, allocations: 3.938 kB / 0.4951 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01179/0.4558, allocations: 4.963 MB / 0.5 GB, free: 6.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4559, allocations: 64.41 kB / 0.5 GB, free: 6.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4584, allocations: 1.533 MB / 0.5015 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4585, allocations: 45.7 kB / 0.5016 GB, free: 4.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.4596, allocations: 1.453 MB / 0.503 GB, free: 3.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.46, allocations: 460.1 kB / 0.5034 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.4605, allocations: 291.5 kB / 0.5037 GB, free: 2.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4606, allocations: 305.1 kB / 0.504 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4617, allocations: 0.6559 MB / 0.5046 GB, free: 1.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4632, allocations: 1.154 MB / 0.5057 GB, free: 128 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.466, allocations: 1.894 MB / 0.5076 GB, free: 14.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.466, allocations: 8 kB / 0.5076 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004046/0.4701, allocations: 2.312 MB / 0.5099 GB, free: 11.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4701, allocations: 12 kB / 0.5099 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.4701, allocations: 15.94 kB / 0.5099 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.471, allocations: 319.4 kB / 0.5102 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4723, allocations: 347.4 kB / 0.5105 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.4793, allocations: 6.185 MB / 0.5166 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.4808, allocations: 75.91 kB / 0.5166 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.481, allocations: 68.23 kB / 0.5167 GB, free: 4.367 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.002371/0.4834, allocations: 1.009 MB / 0.5177 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.4838, allocations: 174.9 kB / 0.5179 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.4884, allocations: 2.026 MB / 0.5198 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.4884, allocations: 12 kB / 0.5198 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.4884, allocations: 8 kB / 0.5199 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4884, allocations: 7.922 kB / 0.5199 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008894/0.4973, allocations: 4.089 MB / 0.5239 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4973, allocations: 0 / 0.5239 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.4982, allocations: 171.8 kB / 0.524 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.4996, allocations: 492 kB / 0.5245 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4997, allocations: 39.97 kB / 0.5245 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.5127, allocations: 10.72 MB / 0.535 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5127, allocations: 0 / 0.535 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.26/0.7727, allocations: 2.934 MB / 0.5379 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.7738, allocations: 323.2 kB / 0.5382 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.774, allocations: 29.97 kB / 0.5382 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.7748, allocations: 71.31 kB / 0.5383 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.7751, allocations: 105.2 kB / 0.5384 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.7752, allocations: 38.77 kB / 0.5384 GB, free: 98.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.7767, allocations: 1.025 MB / 0.5394 GB, free: 98.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7767, allocations: 0.75 kB / 0.5394 GB, free: 98.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001931/0.7787, allocations: 0.5388 MB / 0.5399 GB, free: 98.34 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.000324/0.779, allocations: 160.9 kB / 0.5401 GB, free: 98.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00338/0.7824, allocations: 1.992 MB / 0.542 GB, free: 97.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.7824, allocations: 0 / 0.542 GB, free: 97.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.7845, allocations: 1.499 MB / 0.5435 GB, free: 96.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7861, allocations: 426.5 kB / 0.5439 GB, free: 96.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.7941, allocations: 5.552 MB / 0.5493 GB, free: 93.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.7957, allocations: 1.683 MB / 0.551 GB, free: 92.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.7961, allocations: 125.3 kB / 0.5511 GB, free: 92.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.964e-06/0.7961, allocations: 0 / 0.5511 GB, free: 92.96 MB / 446.1 MB Notification: Performance of Templates: time 0.08688/0.883, allocations: 109.8 MB / 0.6583 GB, free: 0.4961 MB / 462.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/jenkins1/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/jenkins1/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: 13.264621221926063]