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.001396/0.001396, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001659/0.001659, allocations: 211 kB / 24.48 MB, free: 3.938 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.002316/0.002316, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3375, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01687/0.3543, allocations: 11.79 MB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009759/0.3641, allocations: 4.268 MB / 448.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.3666, allocations: 99.44 kB / 448.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.3699, allocations: 0.9746 MB / 449.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.3745, allocations: 1.282 MB / 450.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.3771, allocations: 0.8683 MB / 451.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.3827, allocations: 3.93 MB / 455.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.3854, allocations: 1.711 MB / 457.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3885, allocations: 1.901 MB / 459.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.3924, allocations: 2.094 MB / 461.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3934, allocations: 0.4961 MB / 461.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.3955, allocations: 0.699 MB / 462.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.3967, allocations: 1.11 MB / 463.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.3992, allocations: 1.642 MB / 465.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.4076, allocations: 6.68 MB / 471.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4076, allocations: 0 / 471.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4076, allocations: 3.938 kB / 471.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001552/0.4077, allocations: 0 / 471.9 MB, free: 14.97 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.01349/0.4212, allocations: 4.33 MB / 476.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4213, allocations: 12.03 kB / 476.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/0.4258, allocations: 0.8027 MB / 477 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.4321, allocations: 2.348 MB / 479.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.4324, allocations: 238.2 kB / 479.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.4334, allocations: 315.9 kB / 479.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00936/0.4428, allocations: 4.377 MB / 484.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.621e-05/0.4429, allocations: 7.984 kB / 484.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.4432, allocations: 128 kB / 484.4 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.4434, allocations: 150.3 kB / 484.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008022/0.4514, allocations: 3.609 MB / 488.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.4759, allocations: 11.19 MB / 499.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005731/0.4816, allocations: 2.646 MB / 0.4903 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.4849, allocations: 1.503 MB / 0.4917 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007778/0.4926, allocations: 3.333 MB / 0.495 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.4927, allocations: 43.56 kB / 0.495 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.637e-06/0.4927, allocations: 4 kB / 0.495 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01217/0.5049, allocations: 4.971 MB / 0.4999 GB, free: 6.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.5049, allocations: 64.41 kB / 0.4999 GB, free: 6.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.5074, allocations: 1.537 MB / 0.5014 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.5076, allocations: 45.7 kB / 0.5015 GB, free: 4.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.5088, allocations: 1.453 MB / 0.5029 GB, free: 3.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.5092, allocations: 460.1 kB / 0.5034 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.5097, allocations: 287.5 kB / 0.5036 GB, free: 2.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5098, allocations: 301.1 kB / 0.5039 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.511, allocations: 0.6559 MB / 0.5046 GB, free: 1.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.5127, allocations: 1.154 MB / 0.5057 GB, free: 332 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.5157, allocations: 1.898 MB / 0.5075 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.5157, allocations: 4 kB / 0.5075 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004353/0.52, allocations: 2.316 MB / 0.5098 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.5201, allocations: 11.94 kB / 0.5098 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.5201, allocations: 20.22 kB / 0.5098 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008663/0.521, allocations: 315.2 kB / 0.5101 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.5225, allocations: 355.4 kB / 0.5105 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/0.53, allocations: 6.186 MB / 0.5165 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.5314, allocations: 71.91 kB / 0.5166 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.5316, allocations: 71.98 kB / 0.5166 GB, free: 4.555 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.001849/0.5334, allocations: 1.001 MB / 0.5176 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.5338, allocations: 174.9 kB / 0.5178 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.5379, allocations: 2.026 MB / 0.5198 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5379, allocations: 12 kB / 0.5198 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.5379, allocations: 4 kB / 0.5198 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.538, allocations: 11.92 kB / 0.5198 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/0.5461, allocations: 4.089 MB / 0.5238 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.5461, allocations: 4 kB / 0.5238 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.5469, allocations: 167.8 kB / 0.524 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.5483, allocations: 499.4 kB / 0.5244 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.5484, allocations: 43.97 kB / 0.5245 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.5607, allocations: 10.71 MB / 0.5349 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5607, allocations: 4.031 kB / 0.5349 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2249/0.7856, allocations: 2.929 MB / 0.5378 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.7867, allocations: 322.9 kB / 0.5381 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7869, allocations: 32.8 kB / 0.5381 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.7878, allocations: 68.55 kB / 0.5382 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.7881, allocations: 102.4 kB / 0.5383 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.7882, allocations: 43.41 kB / 0.5383 GB, free: 98.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001578/0.7898, allocations: 1.027 MB / 0.5393 GB, free: 98.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7898, allocations: 0 / 0.5393 GB, free: 98.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002193/0.7919, allocations: 0.5399 MB / 0.5399 GB, free: 98.46 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.0003645/0.7923, allocations: 163.3 kB / 0.54 GB, free: 98.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.7957, allocations: 1.984 MB / 0.542 GB, free: 97.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.7957, allocations: 7.844 kB / 0.542 GB, free: 97.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.7978, allocations: 1.496 MB / 0.5434 GB, free: 96.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.7999, allocations: 423.7 kB / 0.5438 GB, free: 96.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008415/0.8083, allocations: 5.549 MB / 0.5493 GB, free: 93.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.8098, allocations: 1.679 MB / 0.5509 GB, free: 93.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.8103, allocations: 136.2 kB / 0.551 GB, free: 93.09 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8103, allocations: 7.125 kB / 0.551 GB, free: 93.09 MB / 446.1 MB Notification: Performance of Templates: time 0.08937/0.8997, allocations: 109.8 MB / 0.6583 GB, free: 0.7969 MB / 462.1 MB " [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/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_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: 12.847568741999567]