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.001855/0.001855, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.002077/0.002077, allocations: 188 kB / 18.63 MB, free: 4.508 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.638/1.638, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009882/0.0009885, allocations: 41.84 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09209, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01055/0.1027, allocations: 8.824 MB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005391/0.1081, allocations: 2.831 MB / 363.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.1095, allocations: 47.81 kB / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.1113, allocations: 0.6056 MB / 363.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.1141, allocations: 0.6949 MB / 364.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.1151, allocations: 323.5 kB / 364.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.118, allocations: 2.232 MB / 367.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.1202, allocations: 1.742 MB / 368.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.1218, allocations: 1.016 MB / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1854/0.3072, allocations: 1.278 MB / 371.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.3085, allocations: 268.5 kB / 371.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.31, allocations: 353.8 kB / 371.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.3115, allocations: 0.7609 MB / 372.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.3146, allocations: 1.207 MB / 373.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.3203, allocations: 3.518 MB / 377.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3203, allocations: 2.609 kB / 377.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3203, allocations: 2.812 kB / 377.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.3204, allocations: 1.344 kB / 377.2 MB, free: 12.62 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.006612/0.3271, allocations: 2.483 MB / 379.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.3271, allocations: 11.19 kB / 379.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3281, allocations: 253.9 kB / 379.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.331, allocations: 1.304 MB / 381.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3311, allocations: 132.3 kB / 381.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.3314, allocations: 186.4 kB / 381.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.3359, allocations: 2.371 MB / 383.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.336, allocations: 10.22 kB / 383.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.3362, allocations: 71.75 kB / 384 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.3363, allocations: 97.55 kB / 384.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.3397, allocations: 1.963 MB / 386.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.3509, allocations: 7.066 MB / 393.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.3526, allocations: 1.27 MB / 394.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.354, allocations: 0.8671 MB / 395.3 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.3543, allocations: 127.5 kB / 395.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3543, allocations: 39.81 kB / 395.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.795e-06/0.3543, allocations: 0 / 395.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.0127/0.367, allocations: 6.089 MB / 401.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3671, allocations: 68.28 kB / 401.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.3691, allocations: 1.217 MB / 402.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.3692, allocations: 45.7 kB / 402.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.3699, allocations: 0.8643 MB / 403.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.3702, allocations: 361.5 kB / 404.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.3706, allocations: 222.8 kB / 404.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3708, allocations: 357.9 kB / 404.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.3719, allocations: 0.6155 MB / 405.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3731, allocations: 0.9326 MB / 406.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.3753, allocations: 1.639 MB / 407.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3754, allocations: 4 kB / 407.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003874/0.3792, allocations: 2.228 MB / 410.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3793, allocations: 12 kB / 410.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3793, allocations: 8 kB / 410.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.3804, allocations: 474.6 kB / 410.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.3813, allocations: 265.8 kB / 410.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00704/0.3884, allocations: 7.018 MB / 417.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.3897, allocations: 79.83 kB / 417.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3898, allocations: 55.98 kB / 417.9 MB, free: 14.9 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.001386/0.3912, allocations: 0.5918 MB / 418.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.3915, allocations: 130.4 kB / 418.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.395, allocations: 2.033 MB / 420.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.395, allocations: 8 kB / 420.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.395, allocations: 4 kB / 420.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3951, allocations: 11.97 kB / 420.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.403, allocations: 4.223 MB / 424.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.403, allocations: 4.469 kB / 425 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.4038, allocations: 179.3 kB / 425.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.4051, allocations: 0.5192 MB / 425.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.282e-05/0.4052, allocations: 35.48 kB / 425.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0082/0.4134, allocations: 8.625 MB / 434.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.4134, allocations: 6.625 kB / 434.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.4181, allocations: 2.94 MB / 437.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/0.4191, allocations: 347.3 kB / 437.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.4193, allocations: 31.98 kB / 437.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.42, allocations: 71.92 kB / 437.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.4203, allocations: 91.91 kB / 437.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.4203, allocations: 28 kB / 437.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4216, allocations: 0.8421 MB / 438.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4216, allocations: 0 / 438.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001577/0.4232, allocations: 408 kB / 439 MB, free: 9.105 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.0003917/0.4236, allocations: 200 kB / 439.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.4271, allocations: 2.17 MB / 441.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4272, allocations: 0 / 441.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.4295, allocations: 1.471 MB / 442.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4315, allocations: 387.5 kB / 443.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.438, allocations: 3.9 MB / 447.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.4394, allocations: 1.641 MB / 448.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.4405, allocations: 291.8 kB / 449.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4408, allocations: 99.42 kB / 449.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4408, allocations: 4 kB / 449.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.04085/0.4817, allocations: 22.26 MB / 471.5 MB, free: 8.812 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches