Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001838/0.001838, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 376.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3215, allocations: 53.31 MB / 430.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0207/0.3422, allocations: 17.55 MB / 447.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3557, allocations: 5.985 MB / 453.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004381/0.3601, allocations: 119.7 kB / 453.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005253/0.3653, allocations: 1.421 MB / 455.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.3727, allocations: 1.841 MB / 457.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.3766, allocations: 1.102 MB / 458.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.3876, allocations: 6.372 MB / 464.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006342/0.3939, allocations: 3.767 MB / 468.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.4016, allocations: 2.994 MB / 471.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007659/0.4092, allocations: 3.534 MB / 474.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.4122, allocations: 0.7891 MB / 475.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.4166, allocations: 1.097 MB / 476.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003502/0.4201, allocations: 1.878 MB / 478.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008021/0.4281, allocations: 3.373 MB / 482 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.445, allocations: 10.61 MB / 492.6 MB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.445, allocations: 0 / 492.6 MB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.445, allocations: 0 / 492.6 MB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004101/0.4454, allocations: 0 / 492.6 MB, free: 8.938 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.02344/0.4689, allocations: 6.72 MB / 499.4 MB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4689, allocations: 12.03 kB / 499.4 MB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006428/0.4753, allocations: 1.094 MB / 0.4887 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4855, allocations: 3.71 MB / 0.4924 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004911/0.4859, allocations: 365.7 kB / 0.4927 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002097/0.488, allocations: 487.9 kB / 0.4932 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.506, allocations: 6.909 MB / 0.4999 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.5062, allocations: 8 kB / 0.4999 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.5072, allocations: 196 kB / 0.5001 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002992/0.5075, allocations: 253.8 kB / 0.5004 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.5216, allocations: 5.965 MB / 0.5062 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.5678, allocations: 21.15 MB / 0.5268 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2669/0.8347, allocations: 9.746 MB / 0.5364 GB, free: 96.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005063/0.8398, allocations: 2.3 MB / 0.5386 GB, free: 95.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/0.8527, allocations: 6.746 MB / 0.5452 GB, free: 92.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.8527, allocations: 58.94 kB / 0.5453 GB, free: 92.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.819e-06/0.8527, allocations: 0 / 0.5453 GB, free: 92.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.01643/0.8691, allocations: 9.75 MB / 0.5548 GB, free: 88.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.8692, allocations: 78 kB / 0.5549 GB, free: 88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.8733, allocations: 3.013 MB / 0.5578 GB, free: 86.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003761/0.8737, allocations: 65.08 kB / 0.5579 GB, free: 86.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.8749, allocations: 2.239 MB / 0.56 GB, free: 84.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/0.8755, allocations: 0.7948 MB / 0.5608 GB, free: 84.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006484/0.8762, allocations: 467.9 kB / 0.5613 GB, free: 84.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.8762, allocations: 309 kB / 0.5616 GB, free: 83.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.878, allocations: 1.285 MB / 0.5628 GB, free: 82.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.8798, allocations: 1.924 MB / 0.5647 GB, free: 80.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.8833, allocations: 3.347 MB / 0.568 GB, free: 77.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.8833, allocations: 4 kB / 0.568 GB, free: 77.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005838/0.8891, allocations: 4.248 MB / 0.5721 GB, free: 72.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.8892, allocations: 19.77 kB / 0.5721 GB, free: 72.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.8892, allocations: 20.75 kB / 0.5722 GB, free: 72.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.8915, allocations: 0.7715 MB / 0.5729 GB, free: 72.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.8936, allocations: 0.5655 MB / 0.5735 GB, free: 71.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.9015, allocations: 10.88 MB / 0.5841 GB, free: 60.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.9039, allocations: 107.9 kB / 0.5842 GB, free: 59.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.9042, allocations: 104 kB / 0.5843 GB, free: 59.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002343/0.9065, allocations: 1.629 MB / 0.5859 GB, free: 58.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/0.9072, allocations: 333.9 kB / 0.5862 GB, free: 57.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.9126, allocations: 3.889 MB / 0.59 GB, free: 53.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.9126, allocations: 24 kB / 0.59 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9126, allocations: 12 kB / 0.59 GB, free: 53.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.9126, allocations: 11.95 kB / 0.59 GB, free: 53.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.9244, allocations: 8.549 MB / 0.5984 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.9244, allocations: 4 kB / 0.5984 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9258, allocations: 347.8 kB / 0.5987 GB, free: 44.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002669/0.9284, allocations: 0.9487 MB / 0.5996 GB, free: 43.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.9286, allocations: 59.98 kB / 0.5997 GB, free: 43.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.9399, allocations: 15.75 MB / 0.6151 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9399, allocations: 8.031 kB / 0.6151 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/0.9478, allocations: 5.687 MB / 0.6207 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.9497, allocations: 0.7057 MB / 0.6213 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/0.9503, allocations: 52 kB / 0.6214 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.9518, allocations: 107.9 kB / 0.6215 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/0.9522, allocations: 185.7 kB / 0.6217 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.9523, allocations: 67.97 kB / 0.6217 GB, free: 20.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002622/0.9549, allocations: 2.079 MB / 0.6238 GB, free: 18.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9549, allocations: 0 / 0.6238 GB, free: 18.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003217/0.9581, allocations: 0.9491 MB / 0.6247 GB, free: 17.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (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.0007038/0.9589, allocations: 273.3 kB / 0.625 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.9638, allocations: 3.786 MB / 0.6287 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9638, allocations: 7.938 kB / 0.6287 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.9671, allocations: 2.548 MB / 0.6311 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/0.9711, allocations: 0.9292 MB / 0.6321 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.9864, allocations: 9.585 MB / 0.6414 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003968/0.9904, allocations: 3.36 MB / 0.6447 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.9915, allocations: 219.4 kB / 0.6449 GB, free: 12.42 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.9915, allocations: 0 / 0.6449 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Templates: time 0.4429/1.434, allocations: 206.3 MB / 0.8464 GB, free: 83.14 MB / 0.5294 GB [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches