Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2301, allocations: 50.55 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01004/0.2402, allocations: 9.723 MB / 419 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.2452, allocations: 3.096 MB / 422.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/0.2461, allocations: 51.81 kB / 422.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.2477, allocations: 0.6248 MB / 422.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.2495, allocations: 0.753 MB / 423.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.2503, allocations: 379.5 kB / 423.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.2534, allocations: 2.448 MB / 426.3 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.2557, allocations: 1.743 MB / 428.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.2575, allocations: 1.082 MB / 429.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2592, allocations: 1.315 MB / 430.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.2596, allocations: 280 kB / 430.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.2604, allocations: 371.8 kB / 431.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.2612, allocations: 0.7791 MB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.2624, allocations: 1.268 MB / 433.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.2662, allocations: 3.678 MB / 436.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2663, allocations: 0 / 436.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2663, allocations: 0 / 436.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.879e-05/0.2663, allocations: 0 / 436.8 MB, free: 5.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004714/0.2711, allocations: 2.651 MB / 439.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2711, allocations: 8.031 kB / 439.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.2719, allocations: 283.4 kB / 439.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.2739, allocations: 1.378 MB / 441.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.274, allocations: 140.2 kB / 441.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.2743, allocations: 203.9 kB / 441.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/0.2781, allocations: 2.422 MB / 443.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.2782, allocations: 0 / 443.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.2784, allocations: 80 kB / 444 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-05/0.2785, allocations: 87.69 kB / 444.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.2817, allocations: 1.966 MB / 446 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.2933, allocations: 7.788 MB / 453.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.2949, allocations: 1.228 MB / 455.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.2967, allocations: 0.9633 MB / 456 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.2969, allocations: 126.1 kB / 456.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.297, allocations: 47.55 kB / 456.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.297, allocations: 0 / 456.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01217/0.3091, allocations: 5.892 MB / 462.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3092, allocations: 64.34 kB / 462.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.311, allocations: 1.314 MB / 463.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.3111, allocations: 45.7 kB / 463.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.3119, allocations: 0.9497 MB / 464.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.3122, allocations: 408.5 kB / 464.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.3126, allocations: 251.5 kB / 465.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3127, allocations: 361.9 kB / 465.4 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3138, allocations: 0.6364 MB / 466.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3152, allocations: 1.004 MB / 467.1 MB, free: 6.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.3175, allocations: 1.735 MB / 468.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.3176, allocations: 7.938 kB / 468.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004587/0.3222, allocations: 2.25 MB / 471.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.3222, allocations: 14.19 kB / 471.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.3223, allocations: 12 kB / 471.1 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.3237, allocations: 0.4917 MB / 471.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3247, allocations: 299.5 kB / 471.9 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.3321, allocations: 7.131 MB / 479 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.3336, allocations: 87.91 kB / 479.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3337, allocations: 56.06 kB / 479.2 MB, free: 10.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001192/0.3349, allocations: 0.6026 MB / 479.8 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.3353, allocations: 159 kB / 479.9 MB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.3386, allocations: 1.969 MB / 481.9 MB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3387, allocations: 8 kB / 481.9 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3387, allocations: 7.984 kB / 481.9 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3387, allocations: 7.984 kB / 481.9 MB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/0.345, allocations: 4.117 MB / 486 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.345, allocations: 4 kB / 486 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.3458, allocations: 192 kB / 486.2 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.3473, allocations: 0.5271 MB / 486.7 MB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.3474, allocations: 32.11 kB / 486.8 MB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008048/0.3554, allocations: 8.77 MB / 495.5 MB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3555, allocations: 7.938 kB / 495.6 MB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.3597, allocations: 2.852 MB / 498.4 MB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.3603, allocations: 368 kB / 498.8 MB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3605, allocations: 32.06 kB / 498.8 MB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.3613, allocations: 63.92 kB / 498.9 MB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.3615, allocations: 92.84 kB / 499 MB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.3615, allocations: 35.98 kB / 499 MB, free: 5.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.3628, allocations: 0.8918 MB / 499.9 MB, free: 4.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3628, allocations: 4 kB / 499.9 MB, free: 4.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001398/0.3642, allocations: 439.9 kB / 0.4886 GB, free: 4.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.3645, allocations: 190.3 kB / 0.4888 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.3677, allocations: 2.243 MB / 0.491 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3677, allocations: 0 / 0.491 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.3699, allocations: 1.507 MB / 0.4924 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.3716, allocations: 407.6 kB / 0.4928 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/0.3775, allocations: 4.171 MB / 0.4969 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.3787, allocations: 1.654 MB / 0.4985 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000883/0.3796, allocations: 328.8 kB / 0.4988 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.3799, allocations: 99.42 kB / 0.4989 GB, free: 9.352 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3799, allocations: 0 / 0.4989 GB, free: 9.352 MB / 430.1 MB Notification: Performance of Templates: time 0.04032/0.4202, allocations: 24.16 MB / 0.5225 GB, free: 1.414 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches