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) 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.92 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08419/0.08602, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01492/0.101, allocations: 13.51 MB / 371.1 MB, free: 444 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.2487, allocations: 4.529 MB / 375.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.2503, allocations: 77.31 kB / 375.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.2527, allocations: 0.9948 MB / 376.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.2558, allocations: 1.27 MB / 377.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.2576, allocations: 0.8998 MB / 378.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.2611, allocations: 4.043 MB / 382.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.2643, allocations: 3.249 MB / 386.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.2668, allocations: 1.889 MB / 388 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.2695, allocations: 2.229 MB / 390.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007356/0.2703, allocations: 0.5133 MB / 390.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.2719, allocations: 0.7457 MB / 391.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.2727, allocations: 1.148 MB / 392.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.2748, allocations: 2.139 MB / 394.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006115/0.2809, allocations: 6.751 MB / 401.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.281, allocations: 0 / 401.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.281, allocations: 0 / 401.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.2811, allocations: 0 / 401.5 MB, free: 13.28 MB / 318.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.01098/0.2921, allocations: 4.439 MB / 406 MB, free: 9.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2922, allocations: 8.031 kB / 406 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.2966, allocations: 0.8262 MB / 406.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.3009, allocations: 2.441 MB / 409.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3011, allocations: 233.7 kB / 409.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005702/0.3017, allocations: 315.9 kB / 409.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007621/0.3093, allocations: 4.266 MB / 414 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.3094, allocations: 4 kB / 414.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.3097, allocations: 127.8 kB / 414.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.3099, allocations: 142.2 kB / 414.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006619/0.3165, allocations: 3.675 MB / 418 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.3384, allocations: 13.58 MB / 431.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/0.3459, allocations: 6.883 MB / 438.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.3485, allocations: 1.42 MB / 439.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006776/0.3553, allocations: 3.898 MB / 443.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.3554, allocations: 47.56 kB / 443.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.276e-06/0.3554, allocations: 0 / 443.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01486/0.3702, allocations: 6.667 MB / 450.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.3704, allocations: 64.72 kB / 450.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.3743, allocations: 1.892 MB / 452.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.3744, allocations: 49.7 kB / 452.5 MB, free: 9.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3758, allocations: 1.434 MB / 453.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.3763, allocations: 0.4952 MB / 454.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.3768, allocations: 303.3 kB / 454.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.377, allocations: 301.1 kB / 455 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.3783, allocations: 0.7652 MB / 455.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.3801, allocations: 1.228 MB / 457 MB, free: 4.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.3835, allocations: 2.104 MB / 459.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3835, allocations: 8 kB / 459.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005295/0.3888, allocations: 2.663 MB / 461.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.3889, allocations: 19.88 kB / 461.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.3889, allocations: 19.94 kB / 461.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.3904, allocations: 0.5013 MB / 462.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.392, allocations: 387.4 kB / 462.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009543/0.4016, allocations: 6.919 MB / 469.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.4033, allocations: 79.86 kB / 469.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.4036, allocations: 75.98 kB / 469.8 MB, free: 7.637 MB / 382.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.002217/0.4059, allocations: 1.052 MB / 470.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/0.4065, allocations: 197.6 kB / 471 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.4113, allocations: 2.504 MB / 473.5 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.4114, allocations: 12 kB / 473.5 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.4114, allocations: 8 kB / 473.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.4114, allocations: 11.91 kB / 473.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.4216, allocations: 5.543 MB / 479.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4216, allocations: 192 / 479.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.4227, allocations: 219.7 kB / 479.3 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.4241, allocations: 0.4993 MB / 479.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.4242, allocations: 39.98 kB / 479.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.4364, allocations: 11.43 MB / 491.3 MB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4364, allocations: 7.969 kB / 491.3 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/0.4429, allocations: 3.568 MB / 494.8 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.4441, allocations: 458.6 kB / 495.3 MB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/0.4446, allocations: 35.98 kB / 495.3 MB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.4459, allocations: 63.95 kB / 495.4 MB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.4462, allocations: 109 kB / 495.5 MB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.4464, allocations: 47.98 kB / 495.5 MB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002798/0.4492, allocations: 1.302 MB / 496.8 MB, free: 11.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4492, allocations: 0 / 496.8 MB, free: 11.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002549/0.4517, allocations: 0.6017 MB / 497.4 MB, free: 10.97 MB / 414.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.0004235/0.4522, allocations: 176.6 kB / 497.6 MB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.4586, allocations: 2.851 MB / 0.4887 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.4586, allocations: 4.281 kB / 0.4887 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002916/0.4615, allocations: 1.727 MB / 0.4904 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.4648, allocations: 0.5332 MB / 0.491 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.4774, allocations: 6.009 MB / 0.4968 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.4804, allocations: 2.383 MB / 0.4991 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00174/0.4822, allocations: 417 kB / 0.4995 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/0.4827, allocations: 135.4 kB / 0.4997 GB, free: 12.61 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4827, allocations: 0 / 0.4997 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Templates: time 0.2187/0.7015, allocations: 31.2 MB / 0.5301 GB, free: 144.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches