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.00119/0.00119, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2699, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01041/0.2803, allocations: 8.878 MB / 418.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.2858, allocations: 2.871 MB / 421 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2875, allocations: 47.81 kB / 421 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.2894, allocations: 0.6131 MB / 421.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.2914, allocations: 0.7066 MB / 422.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.2921, allocations: 331.5 kB / 422.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.2945, allocations: 2.229 MB / 424.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.2964, allocations: 1.742 MB / 426.7 MB, free: 60 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.2978, allocations: 1.028 MB / 427.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.2996, allocations: 1.288 MB / 429 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.3001, allocations: 268 kB / 429.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.3008, allocations: 363.8 kB / 429.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007091/0.3015, allocations: 0.7519 MB / 430.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3027, allocations: 1.217 MB / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.306, allocations: 3.546 MB / 435.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3061, allocations: 7.922 kB / 435.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3061, allocations: 0 / 435.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.3061, allocations: 0 / 435.1 MB, free: 7.57 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.004649/0.3108, allocations: 2.545 MB / 437.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3108, allocations: 8.031 kB / 437.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.3115, allocations: 267.4 kB / 437.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.3135, allocations: 1.314 MB / 439.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.3136, allocations: 135.9 kB / 439.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.3139, allocations: 183.9 kB / 439.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.3177, allocations: 2.378 MB / 441.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.3178, allocations: 7.953 kB / 441.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.3179, allocations: 71.98 kB / 442 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.3181, allocations: 99.44 kB / 442.1 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.3218, allocations: 1.962 MB / 444.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.3325, allocations: 7.076 MB / 451.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.3344, allocations: 1.285 MB / 452.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.3359, allocations: 0.8503 MB / 453.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.3362, allocations: 126 kB / 453.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3362, allocations: 43.56 kB / 453.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.3362, allocations: 0 / 453.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01318/0.3494, allocations: 6.128 MB / 459.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3495, allocations: 64.41 kB / 459.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.351, allocations: 1.215 MB / 460.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.3511, allocations: 45.7 kB / 460.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/0.3517, allocations: 0.8869 MB / 461.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.352, allocations: 388.7 kB / 462.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.3524, allocations: 218.9 kB / 462.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3525, allocations: 357.9 kB / 462.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.3535, allocations: 0.6155 MB / 463.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.3547, allocations: 0.9227 MB / 464.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.3569, allocations: 1.635 MB / 465.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3569, allocations: 4 kB / 465.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003539/0.3605, allocations: 2.236 MB / 468.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3605, allocations: 14.81 kB / 468.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.3606, allocations: 15.97 kB / 468.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3616, allocations: 487.3 kB / 468.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.3626, allocations: 267.6 kB / 468.9 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.3692, allocations: 7.018 MB / 475.9 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.3705, allocations: 71.92 kB / 476 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.3706, allocations: 55.98 kB / 476.1 MB, free: 13.26 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.001168/0.3718, allocations: 0.5985 MB / 476.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.3721, allocations: 151 kB / 476.8 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.3756, allocations: 2.035 MB / 478.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3756, allocations: 12 kB / 478.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3756, allocations: 4 kB / 478.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.3756, allocations: 3.984 kB / 478.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/0.3822, allocations: 4.223 MB / 483.1 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3823, allocations: 4 kB / 483.1 MB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.383, allocations: 175.8 kB / 483.3 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.3843, allocations: 0.5232 MB / 483.8 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.3844, allocations: 31.98 kB / 483.8 MB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007521/0.3919, allocations: 8.632 MB / 492.4 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.392, allocations: 7.938 kB / 492.4 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.3963, allocations: 2.954 MB / 495.4 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008363/0.3972, allocations: 348 kB / 495.7 MB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.3974, allocations: 31.94 kB / 495.8 MB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.3982, allocations: 75.92 kB / 495.8 MB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.3984, allocations: 88.81 kB / 495.9 MB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.3985, allocations: 43.92 kB / 496 MB, free: 8.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.3996, allocations: 0.8383 MB / 496.8 MB, free: 7.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3997, allocations: 0 / 496.8 MB, free: 7.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001381/0.401, allocations: 411.9 kB / 497.2 MB, free: 7.215 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.0003961/0.4014, allocations: 190.3 kB / 497.4 MB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003455/0.4049, allocations: 2.165 MB / 499.6 MB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4049, allocations: 0 / 499.6 MB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.4072, allocations: 1.476 MB / 0.4893 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.4091, allocations: 383.4 kB / 0.4897 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.4152, allocations: 3.959 MB / 0.4935 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.4164, allocations: 1.634 MB / 0.4951 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000861/0.4173, allocations: 303.7 kB / 0.4954 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.4176, allocations: 91.42 kB / 0.4955 GB, free: 12.76 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4176, allocations: 4 kB / 0.4955 GB, free: 12.76 MB / 430.1 MB Notification: Performance of Templates: time 0.04075/0.4583, allocations: 22.71 MB / 0.5177 GB, free: 6.242 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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