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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001498/0.001498, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001604/0.001604, allocations: 43.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01735/0.2451, allocations: 11.84 MB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008899/0.254, allocations: 4.299 MB / 447.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.2566, allocations: 95.44 kB / 447.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.2593, allocations: 0.9786 MB / 448.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.2633, allocations: 1.317 MB / 450.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.2654, allocations: 0.8729 MB / 451 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.2709, allocations: 4.079 MB / 455.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.2741, allocations: 1.707 MB / 456.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.2771, allocations: 1.959 MB / 458.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/0.2813, allocations: 2.152 MB / 460.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.2826, allocations: 0.5117 MB / 461.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.2848, allocations: 0.7068 MB / 462.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.2864, allocations: 1.149 MB / 463.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003121/0.2895, allocations: 1.684 MB / 464.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008667/0.2982, allocations: 6.839 MB / 471.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2982, allocations: 4 kB / 471.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2982, allocations: 0 / 471.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002162/0.2984, allocations: 0 / 471.8 MB, free: 14.35 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01291/0.3113, allocations: 4.455 MB / 476.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3114, allocations: 8.031 kB / 476.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/0.3158, allocations: 0.8417 MB / 477.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.321, allocations: 2.436 MB / 479.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3212, allocations: 234.6 kB / 479.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000674/0.3219, allocations: 323.9 kB / 480.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008168/0.3301, allocations: 4.416 MB / 484.5 MB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-05/0.3301, allocations: 3.953 kB / 484.5 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.3304, allocations: 128 kB / 484.6 MB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.3306, allocations: 142.2 kB / 484.8 MB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00707/0.3377, allocations: 3.663 MB / 488.4 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.36, allocations: 11.45 MB / 499.9 MB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/0.3653, allocations: 2.593 MB / 0.4907 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/0.3677, allocations: 1.3 MB / 0.492 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/0.3742, allocations: 3.041 MB / 0.4949 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.3743, allocations: 51.56 kB / 0.495 GB, free: 10.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.957e-06/0.3743, allocations: 0 / 0.495 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01479/0.3891, allocations: 6.068 MB / 0.5009 GB, free: 4.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3891, allocations: 68.72 kB / 0.501 GB, free: 4.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.3919, allocations: 1.695 MB / 0.5026 GB, free: 2.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.392, allocations: 49.7 kB / 0.5027 GB, free: 2.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.3933, allocations: 1.493 MB / 0.5041 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000481/0.3938, allocations: 0.5112 MB / 0.5046 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.3943, allocations: 307.5 kB / 0.5049 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3944, allocations: 305.1 kB / 0.5052 GB, free: 256 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.3957, allocations: 0.7652 MB / 0.506 GB, free: 15.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.3974, allocations: 1.245 MB / 0.5072 GB, free: 14.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.4005, allocations: 2.115 MB / 0.5092 GB, free: 11.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.4006, allocations: 7.938 kB / 0.5092 GB, free: 11.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004868/0.4054, allocations: 2.645 MB / 0.5118 GB, free: 9.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4055, allocations: 12 kB / 0.5118 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.4055, allocations: 19.94 kB / 0.5119 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.4069, allocations: 0.4984 MB / 0.5123 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.4085, allocations: 387.4 kB / 0.5127 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009223/0.4177, allocations: 6.56 MB / 0.5191 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4192, allocations: 79.91 kB / 0.5192 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4194, allocations: 64 kB / 0.5193 GB, free: 1.246 MB / 430.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.001953/0.4213, allocations: 1.063 MB / 0.5203 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.4217, allocations: 190.8 kB / 0.5205 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.4261, allocations: 2.328 MB / 0.5228 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4261, allocations: 16 kB / 0.5228 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4261, allocations: 4 kB / 0.5228 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4261, allocations: 7.984 kB / 0.5228 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00867/0.4348, allocations: 4.616 MB / 0.5273 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.4348, allocations: 3.984 kB / 0.5273 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4359, allocations: 219.9 kB / 0.5275 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.4372, allocations: 0.4958 MB / 0.528 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.4373, allocations: 35.98 kB / 0.528 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2054/0.6427, allocations: 10.67 MB / 0.5384 GB, free: 97.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6427, allocations: 1.375 kB / 0.5384 GB, free: 97.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.6482, allocations: 3.404 MB / 0.5418 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6493, allocations: 377.9 kB / 0.5421 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6495, allocations: 29.47 kB / 0.5422 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.6503, allocations: 65.36 kB / 0.5422 GB, free: 95.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6506, allocations: 113.1 kB / 0.5423 GB, free: 95.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/0.6507, allocations: 43.3 kB / 0.5424 GB, free: 95.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.6524, allocations: 1.151 MB / 0.5435 GB, free: 95.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6524, allocations: 0 / 0.5435 GB, free: 95.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001761/0.6541, allocations: 0.5842 MB / 0.5441 GB, free: 95.46 MB / 446.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.0002792/0.6544, allocations: 175.9 kB / 0.5442 GB, free: 95.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00338/0.6578, allocations: 2.323 MB / 0.5465 GB, free: 94.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6578, allocations: 3.875 kB / 0.5465 GB, free: 94.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.6598, allocations: 1.654 MB / 0.5481 GB, free: 93.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6617, allocations: 436 kB / 0.5485 GB, free: 93.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.67, allocations: 6.042 MB / 0.5544 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.6715, allocations: 1.821 MB / 0.5562 GB, free: 87.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.6727, allocations: 397.5 kB / 0.5566 GB, free: 87.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.673, allocations: 122.4 kB / 0.5567 GB, free: 87.38 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.673, allocations: 0 / 0.5567 GB, free: 87.38 MB / 446.1 MB Notification: Performance of Templates: time 0.04281/0.7158, allocations: 32.78 MB / 0.5887 GB, free: 55.89 MB / 446.1 MB " [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.080162404105067]