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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=50000,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=50000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001894, allocations: 64.52 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 50.53 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1753/0.2811, allocations: 17.46 MB / 375 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2913, allocations: 5.983 MB / 381 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.2944, allocations: 114.7 kB / 381.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.2982, allocations: 1.347 MB / 382.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.3038, allocations: 1.776 MB / 384.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.3066, allocations: 1.086 MB / 385.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008614/0.3153, allocations: 6.348 MB / 391.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006089/0.3214, allocations: 5.385 MB / 397 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.3266, allocations: 2.968 MB / 400 MB, free: 244 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006611/0.3333, allocations: 3.458 MB / 403.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.3353, allocations: 0.7899 MB / 404.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.3393, allocations: 1.105 MB / 405.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002267/0.3416, allocations: 1.87 MB / 407.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006135/0.3477, allocations: 3.365 MB / 410.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.3602, allocations: 10.52 MB / 421.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3602, allocations: 4 kB / 421.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3602, allocations: 0 / 421.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.3605, allocations: 0 / 421.1 MB, free: 12.64 MB / 334.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.01704/0.3775, allocations: 6.571 MB / 427.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3776, allocations: 8.031 kB / 427.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.3831, allocations: 1.071 MB / 428.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/0.3903, allocations: 3.576 MB / 432.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.3907, allocations: 373.6 kB / 432.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.3919, allocations: 487.9 kB / 433.2 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.407, allocations: 6.912 MB / 440.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.723e-05/0.4071, allocations: 3.906 kB / 440.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005559/0.4077, allocations: 204 kB / 440.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.4079, allocations: 253.8 kB / 440.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.4218, allocations: 5.957 MB / 446.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04415/0.466, allocations: 21.37 MB / 467.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.4778, allocations: 9.978 MB / 477.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/0.4828, allocations: 2.489 MB / 480.3 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.4967, allocations: 6.759 MB / 487.1 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.4969, allocations: 64.42 kB / 487.2 MB, free: 8.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 4.939e-06/0.4969, allocations: 0 / 487.2 MB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=226): time 0.02129/0.5182, allocations: 9.693 MB / 496.9 MB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5183, allocations: 77.34 kB / 496.9 MB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/0.5244, allocations: 3.017 MB / 499.9 MB, free: 11.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.5248, allocations: 65.69 kB / 0.4883 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.5268, allocations: 2.176 MB / 0.4904 GB, free: 9.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.5278, allocations: 0.7663 MB / 0.4912 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.5292, allocations: 465.1 kB / 0.4916 GB, free: 8.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5293, allocations: 309.1 kB / 0.4919 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.5318, allocations: 1.293 MB / 0.4932 GB, free: 6.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/0.5347, allocations: 1.92 MB / 0.495 GB, free: 4.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005439/0.5402, allocations: 3.34 MB / 0.4983 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/0.5402, allocations: 4 kB / 0.4983 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008327/0.5486, allocations: 4.256 MB / 0.5025 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.5486, allocations: 12 kB / 0.5025 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.5487, allocations: 16 kB / 0.5025 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.5514, allocations: 0.7767 MB / 0.5032 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.5539, allocations: 0.5617 MB / 0.5038 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.5664, allocations: 10.89 MB / 0.5144 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.5689, allocations: 111.8 kB / 0.5145 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.5694, allocations: 108 kB / 0.5146 GB, free: 15.35 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.003402/0.5728, allocations: 1.61 MB / 0.5162 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.5739, allocations: 316.2 kB / 0.5165 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007963/0.5818, allocations: 3.918 MB / 0.5203 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.5819, allocations: 20 kB / 0.5204 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/0.5819, allocations: 16 kB / 0.5204 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.582, allocations: 7.969 kB / 0.5204 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.5998, allocations: 8.578 MB / 0.5288 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.5999, allocations: 8.25 kB / 0.5288 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.6016, allocations: 343.5 kB / 0.5291 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1827/0.7843, allocations: 0.9486 MB / 0.53 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000423/0.7848, allocations: 61.53 kB / 0.5301 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.7982, allocations: 15.75 MB / 0.5455 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7982, allocations: 3.219 kB / 0.5455 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008551/0.8068, allocations: 5.688 MB / 0.551 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.8083, allocations: 0.6973 MB / 0.5517 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/0.8087, allocations: 55.36 kB / 0.5518 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.8101, allocations: 104.2 kB / 0.5519 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000514/0.8107, allocations: 194.5 kB / 0.552 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.8108, allocations: 60.08 kB / 0.5521 GB, free: 125.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00305/0.8139, allocations: 2.084 MB / 0.5541 GB, free: 124.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8139, allocations: 0 / 0.5541 GB, free: 124.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003231/0.8171, allocations: 0.9527 MB / 0.5551 GB, free: 124.5 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.0006481/0.8178, allocations: 271.7 kB / 0.5553 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009314/0.8271, allocations: 5.377 MB / 0.5606 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.8271, allocations: 1.969 kB / 0.5606 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/0.8305, allocations: 2.642 MB / 0.5632 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/0.8342, allocations: 0.9379 MB / 0.5641 GB, free: 120.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.8466, allocations: 9.551 MB / 0.5734 GB, free: 115.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.8489, allocations: 3.445 MB / 0.5768 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002133/0.8511, allocations: 0.7634 MB / 0.5775 GB, free: 112.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.8516, allocations: 203.9 kB / 0.5777 GB, free: 112.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.8516, allocations: 0 / 0.5777 GB, free: 112.2 MB / 446.1 MB Notification: Performance of Templates: time 0.06953/0.9211, allocations: 51.33 MB / 0.6278 GB, free: 61.35 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches