Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009532, allocations: 90.5 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 181 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 301.4 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 50.41 MB / 351.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01098/0.1382, allocations: 8.282 MB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.1444, allocations: 2.777 MB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007025/0.1451, allocations: 43.75 kB / 362.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.1464, allocations: 0.5323 MB / 363.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.1481, allocations: 0.6255 MB / 364.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.1488, allocations: 283.7 kB / 364.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.1515, allocations: 2.557 MB / 366.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1532, allocations: 1.425 MB / 368.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1544, allocations: 0.7818 MB / 369.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.1558, allocations: 1.093 MB / 370.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.156, allocations: 119.9 kB / 370.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.1565, allocations: 219.8 kB / 370.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.157, allocations: 0.584 MB / 371.1 MB, free: 248 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1716/0.3286, allocations: 1.029 MB / 372.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005345/0.334, allocations: 3.3 MB / 375.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.334, allocations: 0.75 kB / 375.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.334, allocations: 1.438 kB / 375.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.3342, allocations: 0 / 375.5 MB, free: 12.04 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.006349/0.3405, allocations: 2.117 MB / 377.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.3406, allocations: 11.02 kB / 377.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.3418, allocations: 248.4 kB / 377.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.3442, allocations: 1.267 MB / 379.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3443, allocations: 133.5 kB / 379.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/0.3447, allocations: 178.2 kB / 379.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/0.3501, allocations: 2.393 MB / 381.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/0.3502, allocations: 10.66 kB / 381.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.3503, allocations: 71.62 kB / 381.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.3505, allocations: 93.2 kB / 382 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.3543, allocations: 1.981 MB / 384 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.3649, allocations: 7.18 MB / 391.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.3664, allocations: 1.286 MB / 392.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.368, allocations: 0.882 MB / 393.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.3682, allocations: 123.8 kB / 393.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3682, allocations: 43.69 kB / 393.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.257e-06/0.3682, allocations: 5.359 kB / 393.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01226/0.3805, allocations: 6.197 MB / 399.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3805, allocations: 61.75 kB / 399.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.3821, allocations: 1.214 MB / 401 MB, free: 372 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.3822, allocations: 51.52 kB / 401 MB, free: 320 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006086/0.3828, allocations: 0.8608 MB / 401.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.3831, allocations: 363.1 kB / 402.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3833, allocations: 105.7 kB / 402.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3835, allocations: 357.9 kB / 402.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3845, allocations: 0.6269 MB / 403.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.3857, allocations: 0.9292 MB / 404.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3881, allocations: 1.657 MB / 405.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3881, allocations: 4 kB / 405.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003837/0.3919, allocations: 2.243 MB / 408.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.392, allocations: 12 kB / 408.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.392, allocations: 8 kB / 408.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.3931, allocations: 488.2 kB / 408.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.3941, allocations: 273 kB / 408.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4008, allocations: 6.434 MB / 415.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.4024, allocations: 85.03 kB / 415.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.4025, allocations: 56.06 kB / 415.5 MB, free: 1.391 MB / 318.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.001377/0.4039, allocations: 0.5937 MB / 416.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.4042, allocations: 138.2 kB / 416.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.4078, allocations: 2.049 MB / 418.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4078, allocations: 12 kB / 418.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4078, allocations: 8 kB / 418.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4079, allocations: 7.969 kB / 418.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007337/0.4152, allocations: 4.24 MB / 422.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4152, allocations: 4 kB / 422.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.416, allocations: 187.7 kB / 422.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.4173, allocations: 0.5145 MB / 423.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/0.4174, allocations: 39.86 kB / 423.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.4248, allocations: 7.937 MB / 431.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4248, allocations: 4 kB / 431.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.4296, allocations: 2.965 MB / 434.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.4303, allocations: 351.2 kB / 434.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.4305, allocations: 35.98 kB / 434.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.4313, allocations: 75.92 kB / 434.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.4315, allocations: 96.56 kB / 434.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.4316, allocations: 28 kB / 434.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.4329, allocations: 0.8382 MB / 435.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4329, allocations: 0 / 435.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001455/0.4344, allocations: 407.9 kB / 436 MB, free: 12.2 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.0003409/0.4347, allocations: 196 kB / 436.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003289/0.438, allocations: 2.175 MB / 438.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.438, allocations: 0 / 438.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.4402, allocations: 1.494 MB / 439.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.4425, allocations: 358.5 kB / 440.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.449, allocations: 4.87 MB / 445.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.4503, allocations: 1.641 MB / 446.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000918/0.4512, allocations: 291.8 kB / 447 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.4515, allocations: 95.42 kB / 447.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4515, allocations: 0 / 447.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Templates: time 0.03715/0.4887, allocations: 21.09 MB / 468.2 MB, free: 12.09 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches