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.001337/0.001337, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001386/0.001386, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.42/1.42, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.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.001562/0.001562, allocations: 51.16 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08563, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01476/0.1004, allocations: 11.77 MB / 390.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00718/0.1076, allocations: 4.272 MB / 395 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.1084, allocations: 95.44 kB / 395.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.1105, allocations: 0.9746 MB / 396 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.1133, allocations: 1.293 MB / 397.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.1151, allocations: 0.8752 MB / 398.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004144/0.1192, allocations: 3.93 MB / 402.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.1216, allocations: 1.714 MB / 403.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.1238, allocations: 1.908 MB / 405.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.1268, allocations: 2.082 MB / 407.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006358/0.1274, allocations: 0.4961 MB / 408.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1286, allocations: 0.7068 MB / 409 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.1296, allocations: 1.102 MB / 410.1 MB, free: 284 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.1314, allocations: 1.65 MB / 411.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.138, allocations: 6.681 MB / 418.5 MB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.138, allocations: 3.938 kB / 418.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.138, allocations: 0 / 418.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.138, allocations: 0 / 418.5 MB, free: 7.914 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.009944/0.148, allocations: 4.334 MB / 422.8 MB, free: 3.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.148, allocations: 8.031 kB / 422.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/0.1525, allocations: 0.8066 MB / 423.6 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004437/0.157, allocations: 2.344 MB / 426 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.1572, allocations: 242.2 kB / 426.2 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004921/0.1577, allocations: 308 kB / 426.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/0.165, allocations: 4.389 MB / 430.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.298e-05/0.165, allocations: 4 kB / 430.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.1653, allocations: 124 kB / 431 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.1655, allocations: 150.3 kB / 431.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/0.1719, allocations: 3.605 MB / 434.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.1902, allocations: 11.18 MB / 446 MB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005587/0.1958, allocations: 2.649 MB / 448.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.1988, allocations: 1.508 MB / 450.1 MB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006261/0.2051, allocations: 3.337 MB / 453.5 MB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2052, allocations: 43.56 kB / 453.5 MB, free: 4.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 5.03e-06/0.2052, allocations: 3.984 kB / 453.5 MB, free: 4.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01097/0.2161, allocations: 4.971 MB / 458.5 MB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2162, allocations: 64.41 kB / 458.5 MB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.2184, allocations: 1.529 MB / 460.1 MB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.2184, allocations: 49.7 kB / 460.1 MB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.2196, allocations: 1.457 MB / 461.6 MB, free: 12.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.2199, allocations: 460.1 kB / 462 MB, free: 11.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/0.2204, allocations: 291.5 kB / 462.3 MB, free: 11.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2205, allocations: 301.1 kB / 462.6 MB, free: 11.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.2217, allocations: 0.6598 MB / 463.3 MB, free: 10.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.2233, allocations: 1.146 MB / 464.4 MB, free: 9.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.2262, allocations: 1.898 MB / 466.3 MB, free: 7.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.2262, allocations: 15.98 kB / 466.3 MB, free: 7.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00413/0.2303, allocations: 2.308 MB / 468.6 MB, free: 4.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.2304, allocations: 12 kB / 468.6 MB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.2304, allocations: 19.94 kB / 468.7 MB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00083/0.2312, allocations: 319.4 kB / 469 MB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.2326, allocations: 347.4 kB / 469.3 MB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1735/0.4061, allocations: 6.181 MB / 475.5 MB, free: 79.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4075, allocations: 74.91 kB / 475.6 MB, free: 79.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4076, allocations: 66.86 kB / 475.6 MB, free: 79.35 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.001465/0.4091, allocations: 0.9961 MB / 476.6 MB, free: 79.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.4093, allocations: 180.4 kB / 476.8 MB, free: 79.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.4129, allocations: 2.025 MB / 478.8 MB, free: 79.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4129, allocations: 19.08 kB / 478.8 MB, free: 79.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4129, allocations: 11.42 kB / 478.8 MB, free: 79.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4129, allocations: 11.41 kB / 478.9 MB, free: 79.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/0.4194, allocations: 4.09 MB / 483 MB, free: 77.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4194, allocations: 5.156 kB / 483 MB, free: 77.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.4202, allocations: 164.3 kB / 483.1 MB, free: 77.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.4213, allocations: 499.7 kB / 483.6 MB, free: 77.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.4214, allocations: 35.77 kB / 483.6 MB, free: 77.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00824/0.4297, allocations: 10.7 MB / 494.3 MB, free: 68.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4297, allocations: 1.375 kB / 494.3 MB, free: 68.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4339, allocations: 2.932 MB / 497.3 MB, free: 67.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.4346, allocations: 321.9 kB / 497.6 MB, free: 67.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4348, allocations: 32.61 kB / 497.6 MB, free: 67.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/0.4356, allocations: 67.97 kB / 497.7 MB, free: 67.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.4358, allocations: 102.9 kB / 497.8 MB, free: 67.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.4359, allocations: 38.75 kB / 497.8 MB, free: 67.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.4371, allocations: 1.026 MB / 498.9 MB, free: 66.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 1.656 kB / 498.9 MB, free: 66.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0017/0.4388, allocations: 0.5399 MB / 499.4 MB, free: 66.59 MB / 430.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.0002697/0.4391, allocations: 166.4 kB / 499.6 MB, free: 66.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.4417, allocations: 2.002 MB / 0.4898 GB, free: 65.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4417, allocations: 0 / 0.4898 GB, free: 65.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.4435, allocations: 1.495 MB / 0.4913 GB, free: 64.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.4451, allocations: 433.6 kB / 0.4917 GB, free: 64.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.4519, allocations: 5.55 MB / 0.4971 GB, free: 60.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.4533, allocations: 1.728 MB / 0.4988 GB, free: 58.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008798/0.4542, allocations: 354.3 kB / 0.4991 GB, free: 58.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.4544, allocations: 116.5 kB / 0.4992 GB, free: 58.08 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4544, allocations: 0 / 0.4992 GB, free: 58.08 MB / 430.1 MB Notification: Performance of Templates: time 0.03551/0.4899, allocations: 25.73 MB / 0.5244 GB, free: 32.75 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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: 5.490459478111006]