Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001384/0.001384, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.00125/0.00125, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.252, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01551/0.2676, allocations: 12.93 MB / 433.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.2754, allocations: 4.28 MB / 438.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2765, allocations: 71.75 kB / 438.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.2787, allocations: 1.021 MB / 439.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.2817, allocations: 1.317 MB / 440.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2835, allocations: 0.8595 MB / 441.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.2877, allocations: 3.868 MB / 445.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.29, allocations: 1.792 MB / 447 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.2924, allocations: 1.85 MB / 448.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.2951, allocations: 2.09 MB / 451 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006345/0.2957, allocations: 0.5 MB / 451.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2969, allocations: 0.6951 MB / 452.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.298, allocations: 1.114 MB / 453.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.3001, allocations: 2.073 MB / 455.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.307, allocations: 6.615 MB / 462 MB, free: 5.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.307, allocations: 4 kB / 462 MB, free: 5.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.307, allocations: 3.938 kB / 462 MB, free: 5.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.761e-05/0.3071, allocations: 0 / 462 MB, free: 5.816 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.01076/0.3178, allocations: 4.39 MB / 466.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3179, allocations: 12.03 kB / 466.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.3221, allocations: 0.8222 MB / 467.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/0.3264, allocations: 2.397 MB / 469.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3266, allocations: 234.4 kB / 469.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.3271, allocations: 319.9 kB / 470.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007844/0.3349, allocations: 4.211 MB / 474.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.847e-05/0.335, allocations: 4 kB / 474.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.3353, allocations: 132 kB / 474.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.3355, allocations: 158.2 kB / 474.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.3422, allocations: 3.608 MB / 478.2 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/0.3634, allocations: 13.05 MB / 491.3 MB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007708/0.3712, allocations: 6.761 MB / 498 MB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.3734, allocations: 1.25 MB / 499.3 MB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006746/0.3802, allocations: 3.723 MB / 0.4912 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.3802, allocations: 47.5 kB / 0.4913 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.524e-06/0.3802, allocations: 0 / 0.4913 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01116/0.3914, allocations: 5.424 MB / 0.4966 GB, free: 5.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3914, allocations: 64.41 kB / 0.4966 GB, free: 5.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.3941, allocations: 1.702 MB / 0.4983 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.3942, allocations: 45.7 kB / 0.4983 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.3954, allocations: 1.434 MB / 0.4997 GB, free: 2.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3958, allocations: 456.1 kB / 0.5002 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3962, allocations: 283.4 kB / 0.5004 GB, free: 1.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3964, allocations: 313.1 kB / 0.5007 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.3976, allocations: 0.6481 MB / 0.5014 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3991, allocations: 1.113 MB / 0.5025 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.402, allocations: 1.867 MB / 0.5043 GB, free: 13.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.4021, allocations: 8 kB / 0.5043 GB, free: 13.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004244/0.4063, allocations: 2.312 MB / 0.5065 GB, free: 10.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.4063, allocations: 16.03 kB / 0.5066 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.4063, allocations: 15.94 kB / 0.5066 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/0.4071, allocations: 275.2 kB / 0.5068 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4084, allocations: 351.4 kB / 0.5072 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.4148, allocations: 6.202 MB / 0.5132 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.4162, allocations: 75.91 kB / 0.5133 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4163, allocations: 64 kB / 0.5134 GB, free: 3.457 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 (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.001771/0.4181, allocations: 1.005 MB / 0.5143 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.4184, allocations: 186.8 kB / 0.5145 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.4224, allocations: 2.127 MB / 0.5166 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4224, allocations: 12 kB / 0.5166 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4225, allocations: 4 kB / 0.5166 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.4225, allocations: 7.969 kB / 0.5166 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/0.4305, allocations: 4.811 MB / 0.5213 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.4305, allocations: 7.938 kB / 0.5213 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.4313, allocations: 172 kB / 0.5215 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.4325, allocations: 439.9 kB / 0.5219 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4326, allocations: 35.98 kB / 0.5219 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.4445, allocations: 11.05 MB / 0.5327 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4445, allocations: 3.938 kB / 0.5327 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.4497, allocations: 2.995 MB / 0.5357 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/0.4506, allocations: 415.8 kB / 0.5361 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.4508, allocations: 28 kB / 0.5361 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.4516, allocations: 67.94 kB / 0.5362 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.4519, allocations: 100.8 kB / 0.5363 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.452, allocations: 36 kB / 0.5363 GB, free: 10.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001804/0.4538, allocations: 1.17 MB / 0.5374 GB, free: 9.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4538, allocations: 0 / 0.5374 GB, free: 9.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001873/0.4556, allocations: 0.5352 MB / 0.538 GB, free: 9.254 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 (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,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.0003103/0.4559, allocations: 172.9 kB / 0.5381 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003447/0.4594, allocations: 2.019 MB / 0.5401 GB, free: 7.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4594, allocations: 4.062 kB / 0.5401 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.4618, allocations: 1.475 MB / 0.5415 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.4638, allocations: 0.5048 MB / 0.542 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1846/0.6485, allocations: 5.581 MB / 0.5475 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/0.6507, allocations: 2.276 MB / 0.5497 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.6518, allocations: 388.6 kB / 0.5501 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.6521, allocations: 122.5 kB / 0.5502 GB, free: 119.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6521, allocations: 0 / 0.5502 GB, free: 119.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04166/0.6938, allocations: 28.84 MB / 0.5783 GB, free: 100.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.826484700664878]