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.001144/0.001144, allocations: 113 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001198, allocations: 212.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2513, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01002/0.2614, allocations: 8.874 MB / 418.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.2673, allocations: 2.874 MB / 421.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.2688, allocations: 51.81 kB / 421.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2706, allocations: 0.5977 MB / 422.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.2728, allocations: 0.7144 MB / 423.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.2736, allocations: 323.5 kB / 423.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.2763, allocations: 2.241 MB / 425.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.2783, allocations: 1.738 MB / 427.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.28, allocations: 1.036 MB / 428.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.2818, allocations: 1.284 MB / 429.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.2822, allocations: 272 kB / 429.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.283, allocations: 359.8 kB / 430.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006699/0.2837, allocations: 0.7597 MB / 431 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.2849, allocations: 1.209 MB / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.2883, allocations: 3.533 MB / 435.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2883, allocations: 8 kB / 435.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2883, allocations: 0 / 435.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.524e-05/0.2884, allocations: 0 / 435.8 MB, free: 7.598 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00489/0.2933, allocations: 2.493 MB / 438.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2933, allocations: 8.031 kB / 438.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.294, allocations: 254.2 kB / 438.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.296, allocations: 1.313 MB / 439.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2962, allocations: 135.9 kB / 440 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.2964, allocations: 183.8 kB / 440.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/0.3006, allocations: 2.374 MB / 442.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.3007, allocations: 7.844 kB / 442.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.3009, allocations: 75.98 kB / 442.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.301, allocations: 91.5 kB / 442.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.3043, allocations: 1.962 MB / 444.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.3147, allocations: 7.054 MB / 451.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3166, allocations: 1.281 MB / 453 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3181, allocations: 0.8542 MB / 453.9 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.3183, allocations: 118.1 kB / 454 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3184, allocations: 43.56 kB / 454 MB, free: 4.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 4.729e-06/0.3184, allocations: 0 / 454 MB, free: 4.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0136/0.332, allocations: 6.104 MB / 460.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3321, allocations: 68.41 kB / 460.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.3337, allocations: 1.219 MB / 461.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.3338, allocations: 41.7 kB / 461.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.3344, allocations: 0.8653 MB / 462.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.3347, allocations: 366.7 kB / 462.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.3351, allocations: 222.8 kB / 462.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3352, allocations: 349.9 kB / 463.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009785/0.3362, allocations: 0.6194 MB / 463.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3374, allocations: 0.9188 MB / 464.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.3395, allocations: 1.643 MB / 466.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.3395, allocations: 4 kB / 466.4 MB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00363/0.3432, allocations: 2.219 MB / 468.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3432, allocations: 12.03 kB / 468.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3432, allocations: 12 kB / 468.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3443, allocations: 483.9 kB / 469.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.3453, allocations: 275.6 kB / 469.4 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.3515, allocations: 7.009 MB / 476.4 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3527, allocations: 83.81 kB / 476.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.3528, allocations: 48 kB / 476.5 MB, free: 13.46 MB / 398.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.0009539/0.3537, allocations: 0.6062 MB / 477.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.354, allocations: 138.3 kB / 477.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.3574, allocations: 2.028 MB / 479.3 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.3574, allocations: 11.98 kB / 479.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3574, allocations: 15.94 kB / 479.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3574, allocations: 3.984 kB / 479.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.3638, allocations: 4.219 MB / 483.6 MB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.3639, allocations: 8.406 kB / 483.6 MB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.3646, allocations: 187.7 kB / 483.8 MB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.3658, allocations: 0.5075 MB / 484.3 MB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.3659, allocations: 31.98 kB / 484.3 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00716/0.3731, allocations: 8.62 MB / 492.9 MB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3731, allocations: 7.984 kB / 492.9 MB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.3777, allocations: 2.949 MB / 495.9 MB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.3784, allocations: 351.2 kB / 496.2 MB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.3787, allocations: 35.92 kB / 496.2 MB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/0.3796, allocations: 71.92 kB / 496.3 MB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.3799, allocations: 80.83 kB / 496.4 MB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.3799, allocations: 39.92 kB / 496.4 MB, free: 8.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.3813, allocations: 0.8462 MB / 497.3 MB, free: 7.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.3813, allocations: 0 / 497.3 MB, free: 7.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00158/0.3828, allocations: 411.9 kB / 497.7 MB, free: 7.43 MB / 414.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.0003988/0.3833, allocations: 187.1 kB / 497.9 MB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.3866, allocations: 2.165 MB / 0.4883 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3866, allocations: 4 kB / 0.4883 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.3888, allocations: 1.468 MB / 0.4898 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.3911, allocations: 387.2 kB / 0.4901 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.3988, allocations: 3.939 MB / 0.494 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.4006, allocations: 1.618 MB / 0.4955 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.4011, allocations: 99.42 kB / 0.4956 GB, free: 13.31 MB / 430.1 MB Notification: Performance of SimCode: time 2.434e-06/0.4011, allocations: 4 kB / 0.4956 GB, free: 13.31 MB / 430.1 MB Notification: Performance of Templates: time 0.2559/0.657, allocations: 68.29 MB / 0.5623 GB, free: 114.1 MB / 462.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