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_Initialize.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.00143/0.00143, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00142/0.00142, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.495/1.495, allocations: 230.5 MB / 254.1 MB, free: 15.1 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09965, allocations: 53.34 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1904/0.2901, allocations: 13.56 MB / 440.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.2975, allocations: 4.563 MB / 444.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.2991, allocations: 99.47 kB / 445 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.3014, allocations: 1.034 MB / 446.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.3051, allocations: 1.312 MB / 447.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.3075, allocations: 0.8854 MB / 448.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.3132, allocations: 4.083 MB / 452.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.3167, allocations: 2.256 MB / 454.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.3211, allocations: 1.946 MB / 456.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.3262, allocations: 2.273 MB / 458.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.3272, allocations: 0.5124 MB / 459.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3291, allocations: 0.7304 MB / 460.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.3304, allocations: 1.149 MB / 461.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003172/0.3335, allocations: 2.136 MB / 463.4 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.3421, allocations: 6.811 MB / 470.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3421, allocations: 0 / 470.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3421, allocations: 0 / 470.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.3423, allocations: 4 kB / 470.2 MB, free: 2.535 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01454/0.3568, allocations: 4.529 MB / 474.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.3569, allocations: 9.344 kB / 474.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/0.3628, allocations: 0.8454 MB / 475.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/0.3682, allocations: 2.515 MB / 478.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.3684, allocations: 242 kB / 478.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008047/0.3692, allocations: 312 kB / 478.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/0.3779, allocations: 4.265 MB / 482.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.3779, allocations: 0 / 482.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.3783, allocations: 124 kB / 483 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.3785, allocations: 146.2 kB / 483.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.3856, allocations: 3.672 MB / 486.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/0.4091, allocations: 13.45 MB / 0.4885 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007886/0.417, allocations: 6.751 MB / 0.4951 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.4196, allocations: 1.308 MB / 0.4964 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007377/0.427, allocations: 3.885 MB / 0.5002 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4271, allocations: 51.5 kB / 0.5003 GB, free: 9.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 5.18e-06/0.4271, allocations: 4 kB / 0.5003 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01571/0.4428, allocations: 6.678 MB / 0.5068 GB, free: 2.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4428, allocations: 68.66 kB / 0.5068 GB, free: 2.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4459, allocations: 1.888 MB / 0.5087 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.4461, allocations: 49.7 kB / 0.5087 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.4474, allocations: 1.486 MB / 0.5102 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/0.4479, allocations: 0.5074 MB / 0.5107 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.4484, allocations: 307.5 kB / 0.511 GB, free: 14.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4486, allocations: 304.9 kB / 0.5113 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.45, allocations: 0.7691 MB / 0.512 GB, free: 13.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.4518, allocations: 1.216 MB / 0.5132 GB, free: 11.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.4551, allocations: 2.119 MB / 0.5153 GB, free: 9.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4551, allocations: 4 kB / 0.5153 GB, free: 9.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005303/0.4604, allocations: 2.66 MB / 0.5179 GB, free: 6.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4604, allocations: 8.625 kB / 0.5179 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.4605, allocations: 16 kB / 0.5179 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.462, allocations: 0.5018 MB / 0.5184 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.4636, allocations: 383.5 kB / 0.5188 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00997/0.4736, allocations: 6.932 MB / 0.5255 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4754, allocations: 84 kB / 0.5256 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.4756, allocations: 75.98 kB / 0.5257 GB, free: 14.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002136/0.4777, allocations: 1.036 MB / 0.5267 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/0.4782, allocations: 210.7 kB / 0.5269 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.4832, allocations: 2.496 MB / 0.5293 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.4832, allocations: 12 kB / 0.5293 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.4832, allocations: 12 kB / 0.5294 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.4832, allocations: 3.984 kB / 0.5294 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4937, allocations: 5.538 MB / 0.5348 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4937, allocations: 0 / 0.5348 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.4948, allocations: 215.7 kB / 0.535 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4963, allocations: 0.4959 MB / 0.5355 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.4964, allocations: 36 kB / 0.5355 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.5096, allocations: 11.45 MB / 0.5467 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5096, allocations: 0 / 0.5467 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.5162, allocations: 3.556 MB / 0.5501 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.5175, allocations: 475.6 kB / 0.5506 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.5178, allocations: 36 kB / 0.5506 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5188, allocations: 59.95 kB / 0.5507 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.5191, allocations: 109.1 kB / 0.5508 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5192, allocations: 39.98 kB / 0.5508 GB, free: 3.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002273/0.5215, allocations: 1.31 MB / 0.5521 GB, free: 2.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5215, allocations: 0 / 0.5521 GB, free: 2.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00235/0.5238, allocations: 0.5898 MB / 0.5527 GB, free: 1.953 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * 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 {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003804/0.5242, allocations: 163.6 kB / 0.5528 GB, free: 1.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004641/0.5289, allocations: 2.327 MB / 0.5551 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5289, allocations: 2 kB / 0.5551 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/0.5318, allocations: 1.672 MB / 0.5568 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.5344, allocations: 0.5332 MB / 0.5573 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.5458, allocations: 6.026 MB / 0.5632 GB, free: 7.086 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.5483, allocations: 2.371 MB / 0.5655 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001478/0.5498, allocations: 421 kB / 0.5659 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.5502, allocations: 135.4 kB / 0.566 GB, free: 4.145 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5502, allocations: 4 kB / 0.566 GB, free: 4.141 MB / 478.1 MB Notification: Performance of Templates: time 0.06193/0.6121, allocations: 32.33 MB / 0.5976 GB, free: 4.109 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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: 6.066473215818405]