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.001605/0.001605, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001882/0.001882, allocations: 160.5 kB / 24.5 MB, free: 3.453 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.416/1.416, allocations: 177.1 MB / 204.7 MB, free: 8.996 MB / 190.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.001932/0.001932, allocations: 57.08 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09497, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01553/0.1105, allocations: 11.79 MB / 390.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008718/0.1192, allocations: 4.268 MB / 395 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.1209, allocations: 99.44 kB / 395.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.1235, allocations: 0.9785 MB / 396.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.1272, allocations: 1.286 MB / 397.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1294, allocations: 0.8648 MB / 398.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.1349, allocations: 3.937 MB / 402.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.1375, allocations: 1.703 MB / 403.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.1404, allocations: 1.905 MB / 405.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.1441, allocations: 2.094 MB / 407.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.1449, allocations: 0.4961 MB / 408.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1464, allocations: 0.7029 MB / 409.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1475, allocations: 1.106 MB / 410.2 MB, free: 48 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.1495, allocations: 1.646 MB / 411.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.1569, allocations: 6.677 MB / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1569, allocations: 0 / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1569, allocations: 0 / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.157, allocations: 3.938 kB / 418.5 MB, free: 7.691 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.01076/0.1678, allocations: 4.346 MB / 422.8 MB, free: 3.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1678, allocations: 11.98 kB / 422.8 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/0.1721, allocations: 0.8027 MB / 423.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/0.1766, allocations: 2.341 MB / 426 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.1768, allocations: 238.2 kB / 426.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004845/0.1773, allocations: 308 kB / 426.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/0.1848, allocations: 4.389 MB / 430.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/0.1849, allocations: 0 / 430.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.1852, allocations: 132 kB / 431 MB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.1853, allocations: 154.3 kB / 431.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00636/0.1917, allocations: 3.605 MB / 434.8 MB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01928/0.211, allocations: 11.18 MB / 446 MB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00562/0.2166, allocations: 2.65 MB / 448.6 MB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.2196, allocations: 1.515 MB / 450.1 MB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/0.2261, allocations: 3.333 MB / 453.5 MB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.2261, allocations: 43.56 kB / 453.5 MB, free: 4.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.935e-06/0.2261, allocations: 0 / 453.5 MB, free: 4.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01105/0.2372, allocations: 4.975 MB / 458.5 MB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.2373, allocations: 68.41 kB / 458.6 MB, free: 15.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.2397, allocations: 1.525 MB / 460.1 MB, free: 13.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.2398, allocations: 53.7 kB / 460.1 MB, free: 13.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.2409, allocations: 1.457 MB / 461.6 MB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.2413, allocations: 464.1 kB / 462 MB, free: 11.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/0.2418, allocations: 283.5 kB / 462.3 MB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2419, allocations: 305.1 kB / 462.6 MB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.2431, allocations: 0.6559 MB / 463.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.2448, allocations: 1.15 MB / 464.4 MB, free: 9.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.2478, allocations: 1.898 MB / 466.3 MB, free: 6.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.2478, allocations: 4 kB / 466.3 MB, free: 6.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004362/0.2521, allocations: 2.308 MB / 468.6 MB, free: 4.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.2522, allocations: 12 kB / 468.6 MB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.2522, allocations: 19.94 kB / 468.7 MB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009509/0.2531, allocations: 323 kB / 469 MB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.2545, allocations: 351.4 kB / 469.3 MB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1975/0.452, allocations: 6.178 MB / 475.5 MB, free: 79.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4534, allocations: 79.12 kB / 475.6 MB, free: 79.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.4536, allocations: 69.45 kB / 475.6 MB, free: 79.19 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.001626/0.4552, allocations: 0.9935 MB / 476.6 MB, free: 79.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.4555, allocations: 174.9 kB / 476.8 MB, free: 79.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.4591, allocations: 2.028 MB / 478.8 MB, free: 78.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.4591, allocations: 12.62 kB / 478.9 MB, free: 78.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.4591, allocations: 7.672 kB / 478.9 MB, free: 78.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.4592, allocations: 13.92 kB / 478.9 MB, free: 78.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.4657, allocations: 4.092 MB / 483 MB, free: 77.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4657, allocations: 2.594 kB / 483 MB, free: 77.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.4665, allocations: 164.3 kB / 483.1 MB, free: 77.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.4676, allocations: 0.4905 MB / 483.6 MB, free: 76.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/0.4677, allocations: 35.22 kB / 483.7 MB, free: 76.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008305/0.476, allocations: 10.71 MB / 494.4 MB, free: 68.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.476, allocations: 2.75 kB / 494.4 MB, free: 68.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006153/0.4822, allocations: 2.931 MB / 497.3 MB, free: 67.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.4834, allocations: 324.2 kB / 497.6 MB, free: 66.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.4838, allocations: 32.48 kB / 497.6 MB, free: 66.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.4853, allocations: 68.64 kB / 497.7 MB, free: 66.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.4856, allocations: 105.5 kB / 497.8 MB, free: 66.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.4857, allocations: 34.58 kB / 497.8 MB, free: 66.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002372/0.4881, allocations: 1.026 MB / 498.9 MB, free: 66.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4881, allocations: 0 / 498.9 MB, free: 66.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003267/0.4914, allocations: 0.5431 MB / 499.4 MB, free: 66.39 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.0003773/0.4918, allocations: 161.6 kB / 499.6 MB, free: 66.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.4961, allocations: 1.994 MB / 0.4898 GB, free: 65.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4961, allocations: 0 / 0.4898 GB, free: 65.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.499, allocations: 1.502 MB / 0.4913 GB, free: 64.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.5016, allocations: 431.9 kB / 0.4917 GB, free: 64.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.5151, allocations: 5.553 MB / 0.4971 GB, free: 59.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.5176, allocations: 1.736 MB / 0.4988 GB, free: 58.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.5192, allocations: 354.3 kB / 0.4991 GB, free: 57.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.5197, allocations: 112.5 kB / 0.4993 GB, free: 57.83 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5197, allocations: 3.938 kB / 0.4993 GB, free: 57.82 MB / 430.1 MB Notification: Performance of Templates: time 0.04646/0.5661, allocations: 25.71 MB / 0.5244 GB, free: 32.48 MB / 430.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 -s ida -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: 5.517198032932356]