Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001814/0.001814, allocations: 118.8 kB / 19.18 MB, free: 3.762 MB / 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.002251/0.002251, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.558/1.558, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.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_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.89 kB / 374.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09497, allocations: 53.32 MB / 427.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1955/0.2905, allocations: 13.57 MB / 441.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008134/0.2986, allocations: 4.556 MB / 446 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.301, allocations: 79.94 kB / 446.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3039, allocations: 1.035 MB / 447.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.3081, allocations: 1.313 MB / 448.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.3107, allocations: 0.8889 MB / 449.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.3168, allocations: 4.069 MB / 453.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3202, allocations: 2.261 MB / 455.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.3237, allocations: 1.914 MB / 457.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.328, allocations: 2.268 MB / 459.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.3294, allocations: 0.5093 MB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.3318, allocations: 0.7346 MB / 461 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.3332, allocations: 1.147 MB / 462.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003399/0.3366, allocations: 2.139 MB / 464.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009549/0.3461, allocations: 6.816 MB / 471.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.3461, allocations: 0 / 471.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3461, allocations: 1.156 kB / 471.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001881/0.3463, allocations: 0 / 471.2 MB, free: 2.887 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.01428/0.3606, allocations: 4.525 MB / 475.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3606, allocations: 8.625 kB / 475.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.3654, allocations: 0.8442 MB / 476.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/0.3711, allocations: 2.515 MB / 479 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.3713, allocations: 237.9 kB / 479.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/0.372, allocations: 315.8 kB / 479.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008393/0.3804, allocations: 4.262 MB / 483.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/0.3805, allocations: 11.89 kB / 483.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.3808, allocations: 128.5 kB / 484 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.381, allocations: 146.2 kB / 484.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007268/0.3883, allocations: 3.664 MB / 487.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.4121, allocations: 13.46 MB / 0.4895 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007609/0.4197, allocations: 6.751 MB / 0.4961 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.4222, allocations: 1.316 MB / 0.4974 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006977/0.4292, allocations: 3.885 MB / 0.5012 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.4293, allocations: 47.56 kB / 0.5012 GB, free: 9.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.146e-06/0.4293, allocations: 0 / 0.5012 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01517/0.4444, allocations: 6.686 MB / 0.5077 GB, free: 3.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4445, allocations: 64.72 kB / 0.5078 GB, free: 3.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.4476, allocations: 1.884 MB / 0.5096 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4478, allocations: 49.7 kB / 0.5097 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.449, allocations: 1.483 MB / 0.5111 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.4494, allocations: 0.5151 MB / 0.5116 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/0.45, allocations: 303.5 kB / 0.5119 GB, free: 14.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4501, allocations: 309.1 kB / 0.5122 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4514, allocations: 0.7652 MB / 0.513 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.4531, allocations: 1.216 MB / 0.5142 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/0.4563, allocations: 2.111 MB / 0.5162 GB, free: 9.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4563, allocations: 8 kB / 0.5162 GB, free: 9.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005083/0.4614, allocations: 2.664 MB / 0.5188 GB, free: 7.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4614, allocations: 14.34 kB / 0.5189 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4614, allocations: 12 kB / 0.5189 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.4629, allocations: 0.5013 MB / 0.5194 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.4644, allocations: 383.4 kB / 0.5197 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009431/0.4738, allocations: 6.932 MB / 0.5265 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.4754, allocations: 75.86 kB / 0.5266 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4755, allocations: 75.98 kB / 0.5266 GB, free: 15.05 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.001966/0.4775, allocations: 1.048 MB / 0.5277 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.4779, allocations: 210.8 kB / 0.5279 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.4825, allocations: 2.484 MB / 0.5303 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4826, allocations: 19.94 kB / 0.5303 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4826, allocations: 4 kB / 0.5303 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.4826, allocations: 11.97 kB / 0.5303 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009396/0.492, allocations: 5.537 MB / 0.5357 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.492, allocations: 7.938 kB / 0.5357 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.493, allocations: 215.7 kB / 0.5359 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.4945, allocations: 0.4956 MB / 0.5364 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.4946, allocations: 35.98 kB / 0.5365 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.507, allocations: 11.44 MB / 0.5476 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.507, allocations: 4.031 kB / 0.5476 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006358/0.5134, allocations: 3.571 MB / 0.5511 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.5144, allocations: 471.6 kB / 0.5516 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.5147, allocations: 32 kB / 0.5516 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.5156, allocations: 59.95 kB / 0.5517 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.5159, allocations: 121.1 kB / 0.5518 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.516, allocations: 43.92 kB / 0.5518 GB, free: 4.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.5181, allocations: 1.302 MB / 0.5531 GB, free: 2.938 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5181, allocations: 0 / 0.5531 GB, free: 2.938 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002207/0.5203, allocations: 0.5859 MB / 0.5537 GB, free: 2.352 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.0003647/0.5207, allocations: 163.1 kB / 0.5538 GB, free: 2.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.5252, allocations: 2.328 MB / 0.5561 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5252, allocations: 0 / 0.5561 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.5279, allocations: 1.665 MB / 0.5577 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.5304, allocations: 0.5238 MB / 0.5582 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.5414, allocations: 6.013 MB / 0.5641 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/0.5438, allocations: 2.328 MB / 0.5664 GB, free: 5.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/0.5444, allocations: 151.4 kB / 0.5665 GB, free: 5.016 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5444, allocations: 0 / 0.5665 GB, free: 5.016 MB / 478.1 MB Notification: Performance of Templates: time 0.2999/0.8444, allocations: 99.06 MB / 0.6633 GB, free: 143.4 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.21643712488003]