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.001419/0.001419, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 65.02 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09814, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01467/0.1128, allocations: 8.865 MB / 367.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.1205, allocations: 2.898 MB / 370.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.1219, allocations: 43.81 kB / 370.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.1241, allocations: 0.6016 MB / 371.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.1269, allocations: 0.7105 MB / 372 MB, free: 168 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2001/0.3271, allocations: 319.6 kB / 372.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.33, allocations: 2.235 MB / 374.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.3318, allocations: 1.744 MB / 376.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.3331, allocations: 1.023 MB / 377.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.3346, allocations: 1.284 MB / 378.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.3349, allocations: 268.9 kB / 378.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.3356, allocations: 360.6 kB / 379.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000686/0.3363, allocations: 0.7662 MB / 380 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.3373, allocations: 1.207 MB / 381.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.3408, allocations: 3.533 MB / 384.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3408, allocations: 0 / 384.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3408, allocations: 0 / 384.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.3409, allocations: 5.188 kB / 384.7 MB, free: 8.434 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.004664/0.3455, allocations: 2.489 MB / 387.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3456, allocations: 8.938 kB / 387.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.3463, allocations: 258.8 kB / 387.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3485, allocations: 1.309 MB / 388.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.3486, allocations: 143.1 kB / 388.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.3489, allocations: 173.5 kB / 389.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.3527, allocations: 2.376 MB / 391.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.3528, allocations: 10.22 kB / 391.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.3529, allocations: 73.12 kB / 391.6 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.3531, allocations: 91.47 kB / 391.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.3561, allocations: 1.964 MB / 393.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.3663, allocations: 7.069 MB / 400.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3681, allocations: 1.273 MB / 402 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.3696, allocations: 0.8682 MB / 402.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.3698, allocations: 122.1 kB / 403 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.3699, allocations: 47.56 kB / 403 MB, free: 12.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.334e-06/0.3699, allocations: 0 / 403 MB, free: 12.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01324/0.3831, allocations: 6.093 MB / 409.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3832, allocations: 64.41 kB / 409.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.385, allocations: 1.225 MB / 410.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3851, allocations: 41.7 kB / 410.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.3857, allocations: 0.8734 MB / 411.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.386, allocations: 364 kB / 411.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.3864, allocations: 221.9 kB / 411.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3866, allocations: 357.9 kB / 412.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009786/0.3876, allocations: 0.6194 MB / 412.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3887, allocations: 0.9149 MB / 413.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.391, allocations: 1.645 MB / 415.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.391, allocations: 4 kB / 415.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003689/0.3947, allocations: 2.219 MB / 417.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3948, allocations: 12 kB / 417.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3948, allocations: 8 kB / 417.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3959, allocations: 480.2 kB / 418.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.3968, allocations: 271.6 kB / 418.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/0.4037, allocations: 7.015 MB / 425.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4053, allocations: 79.83 kB / 425.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.4054, allocations: 51.98 kB / 425.5 MB, free: 5.328 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.001278/0.4067, allocations: 0.6027 MB / 426.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.407, allocations: 134.4 kB / 426.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.4104, allocations: 2.031 MB / 428.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4105, allocations: 19.94 kB / 428.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4105, allocations: 4 kB / 428.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4105, allocations: 3.984 kB / 428.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/0.4178, allocations: 4.213 MB / 432.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4178, allocations: 4 kB / 432.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.4186, allocations: 179.8 kB / 432.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.4199, allocations: 0.5196 MB / 433.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/0.42, allocations: 31.98 kB / 433.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.4282, allocations: 8.623 MB / 441.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4283, allocations: 4 kB / 441.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.4331, allocations: 2.947 MB / 444.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/0.4341, allocations: 347.3 kB / 445.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.4343, allocations: 28 kB / 445.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007942/0.4351, allocations: 71.86 kB / 445.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.4354, allocations: 92.81 kB / 445.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/0.4355, allocations: 39.98 kB / 445.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.4367, allocations: 0.8345 MB / 446.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4368, allocations: 0 / 446.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001602/0.4384, allocations: 415.9 kB / 446.6 MB, free: 15.38 MB / 366.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.0003802/0.4388, allocations: 198.1 kB / 446.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.4422, allocations: 2.166 MB / 449 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4422, allocations: 0 / 449 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.4444, allocations: 1.483 MB / 450.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.4463, allocations: 383.7 kB / 450.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.4523, allocations: 3.894 MB / 454.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.4536, allocations: 1.634 MB / 456.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009401/0.4546, allocations: 299.8 kB / 456.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.4548, allocations: 95.42 kB / 456.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4548, allocations: 0 / 456.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of Templates: time 0.04037/0.4952, allocations: 22.36 MB / 479.1 MB, free: 14.87 MB / 398.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 -s cvode -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