Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002296/0.002296, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 58.06 kB / 306.9 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09845, allocations: 50.53 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01002/0.1085, allocations: 8.83 MB / 366.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.1137, allocations: 2.871 MB / 369.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1151, allocations: 43.81 kB / 369.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.117, allocations: 0.5361 MB / 369.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.1192, allocations: 0.6294 MB / 370.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.12, allocations: 299.7 kB / 370.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1685/0.2885, allocations: 2.562 MB / 373.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.2907, allocations: 1.438 MB / 374.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.2925, allocations: 0.9005 MB / 375.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.2945, allocations: 1.241 MB / 376.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004393/0.295, allocations: 167 kB / 376.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.2958, allocations: 276.6 kB / 377.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006996/0.2965, allocations: 0.6616 MB / 377.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2979, allocations: 1.102 MB / 379 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.3012, allocations: 2.91 MB / 381.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3012, allocations: 0 / 381.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3012, allocations: 1.219 kB / 381.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.3014, allocations: 0 / 381.9 MB, free: 8.984 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005289/0.3067, allocations: 2.49 MB / 384.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3067, allocations: 12.97 kB / 384.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.3075, allocations: 254.3 kB / 384.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3094, allocations: 1.268 MB / 385.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3095, allocations: 136.1 kB / 386 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.3099, allocations: 176.6 kB / 386.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/0.3138, allocations: 2.38 MB / 388.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.3138, allocations: 9.656 kB / 388.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.314, allocations: 75.16 kB / 388.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.3141, allocations: 92.22 kB / 388.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.3173, allocations: 1.961 MB / 390.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.3276, allocations: 7.141 MB / 397.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.3293, allocations: 1.278 MB / 399.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3307, allocations: 0.8733 MB / 400 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.331, allocations: 120 kB / 400.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3311, allocations: 48.03 kB / 400.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.236e-06/0.3311, allocations: 0 / 400.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01331/0.3444, allocations: 6.107 MB / 406.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.3445, allocations: 67.69 kB / 406.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.3463, allocations: 1.219 MB / 407.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.813e-05/0.3464, allocations: 41.7 kB / 407.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.347, allocations: 0.8657 MB / 408.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.3474, allocations: 363.2 kB / 408.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.3477, allocations: 222.8 kB / 409.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3479, allocations: 357.9 kB / 409.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3489, allocations: 0.6194 MB / 410 MB, free: 4.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3501, allocations: 0.9171 MB / 410.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.3523, allocations: 1.637 MB / 412.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3524, allocations: 4 kB / 412.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003776/0.3562, allocations: 2.225 MB / 414.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3562, allocations: 16.75 kB / 414.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3562, allocations: 8 kB / 414.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3573, allocations: 478.3 kB / 415.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.3583, allocations: 268.8 kB / 415.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.3646, allocations: 6.445 MB / 422 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3658, allocations: 87.81 kB / 422.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.366, allocations: 44 kB / 422.1 MB, free: 8.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.3672, allocations: 0.6027 MB / 422.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.3676, allocations: 138.3 kB / 422.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.3713, allocations: 2.027 MB / 424.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3713, allocations: 12 kB / 424.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3713, allocations: 4 kB / 424.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3713, allocations: 3.984 kB / 424.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007515/0.3789, allocations: 4.226 MB / 429.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.3789, allocations: 7.984 kB / 429.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.3797, allocations: 175.8 kB / 429.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.381, allocations: 0.5193 MB / 429.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.3812, allocations: 39.98 kB / 429.9 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007539/0.3887, allocations: 7.905 MB / 437.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.3887, allocations: 11.88 kB / 437.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/0.3935, allocations: 2.952 MB / 440.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008444/0.3944, allocations: 347.2 kB / 441.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/0.3948, allocations: 24 kB / 441.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/0.3958, allocations: 71.92 kB / 441.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.396, allocations: 96.75 kB / 441.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/0.3961, allocations: 35.98 kB / 441.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.3977, allocations: 0.8422 MB / 442.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3977, allocations: 0 / 442.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001801/0.3995, allocations: 404 kB / 442.5 MB, free: 2.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * 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,6,100.0%), (1,1,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.0004386/0.3999, allocations: 190.9 kB / 442.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.4035, allocations: 2.151 MB / 444.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4035, allocations: 0 / 444.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.4059, allocations: 1.483 MB / 446.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.4082, allocations: 363.9 kB / 446.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/0.416, allocations: 4.777 MB / 451.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.4177, allocations: 1.614 MB / 453.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.4181, allocations: 103.4 kB / 453.2 MB, free: 8 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4182, allocations: 0 / 453.2 MB, free: 8 MB / 366.1 MB Notification: Performance of Templates: time 0.07404/0.4922, allocations: 68.11 MB / 0.5091 GB, free: 3.906 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches