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.001496/0.001496, allocations: 108.2 kB / 17.16 MB, free: 6.082 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.001796/0.001797, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.917/1.917, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 51.19 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1499, allocations: 49.44 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.02016/0.1701, allocations: 8.792 MB / 358.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1804, allocations: 2.797 MB / 361.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.1831, allocations: 43.81 kB / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.1867, allocations: 0.5361 MB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.1913, allocations: 0.6333 MB / 362.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.1932, allocations: 291.6 kB / 363.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.1992, allocations: 2.561 MB / 365.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004227/0.2035, allocations: 1.441 MB / 367.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.2063, allocations: 0.8911 MB / 368 MB, free: 2.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.2102, allocations: 1.238 MB / 369.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.2116, allocations: 168 kB / 369.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.2137, allocations: 271.8 kB / 369.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.2157, allocations: 0.6581 MB / 370.4 MB, free: 428 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3623/0.578, allocations: 1.091 MB / 371.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006695/0.5848, allocations: 2.9 MB / 374.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5848, allocations: 0.8125 kB / 374.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5849, allocations: 1.125 kB / 374.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001818/0.585, allocations: 0.625 kB / 374.4 MB, free: 12.86 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.01465/0.5997, allocations: 2.481 MB / 376.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.446e-05/0.5998, allocations: 10.28 kB / 376.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.602, allocations: 254.5 kB / 377.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.6069, allocations: 1.267 MB / 378.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.6073, allocations: 133.5 kB / 378.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.6084, allocations: 184.6 kB / 378.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.6202, allocations: 2.374 MB / 381.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/0.6205, allocations: 10.31 kB / 381.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007309/0.6212, allocations: 76.77 kB / 381.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.6214, allocations: 91.69 kB / 381.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008301/0.6298, allocations: 1.965 MB / 383.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.6546, allocations: 7.141 MB / 390.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.658, allocations: 1.285 MB / 391.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.6606, allocations: 0.8614 MB / 392.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.661, allocations: 122.3 kB / 392.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.6611, allocations: 44.09 kB / 392.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 8.446e-06/0.6611, allocations: 0 / 392.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.02707/0.6882, allocations: 6.084 MB / 398.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.6884, allocations: 61.47 kB / 398.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.6925, allocations: 1.215 MB / 400 MB, free: 0.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.693, allocations: 47.98 kB / 400 MB, free: 464 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.6941, allocations: 0.8652 MB / 400.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008427/0.695, allocations: 360.3 kB / 401.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.696, allocations: 221.7 kB / 401.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.6963, allocations: 365.5 kB / 401.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.6985, allocations: 0.6112 MB / 402.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.701, allocations: 0.9248 MB / 403.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004647/0.7057, allocations: 1.642 MB / 405 MB, free: 11.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/0.7057, allocations: 4 kB / 405 MB, free: 11.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007966/0.7137, allocations: 2.228 MB / 407.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.7138, allocations: 8 kB / 407.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.7139, allocations: 8 kB / 407.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.7162, allocations: 476.2 kB / 407.7 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.7184, allocations: 269.3 kB / 408 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.73, allocations: 6.436 MB / 414.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.7326, allocations: 75.92 kB / 414.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004835/0.7332, allocations: 51.98 kB / 414.6 MB, free: 1.871 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.002765/0.736, allocations: 0.6033 MB / 415.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009082/0.7369, allocations: 141.1 kB / 415.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/0.744, allocations: 2.029 MB / 417.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.7441, allocations: 11.98 kB / 417.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/0.7441, allocations: 4 kB / 417.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.7442, allocations: 3.984 kB / 417.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.7601, allocations: 4.227 MB / 421.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/0.7602, allocations: 4 kB / 421.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.7615, allocations: 180.9 kB / 421.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.7638, allocations: 0.5173 MB / 422.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.7641, allocations: 42.55 kB / 422.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/0.7772, allocations: 7.92 MB / 430.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.7773, allocations: 7.375 kB / 430.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009599/0.7869, allocations: 2.936 MB / 433.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.7887, allocations: 347.2 kB / 433.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008363/0.7896, allocations: 31.98 kB / 433.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.7917, allocations: 67.92 kB / 433.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/0.7922, allocations: 96.66 kB / 433.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.7924, allocations: 32 kB / 433.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003107/0.7956, allocations: 0.8382 MB / 434.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7956, allocations: 0 / 434.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004152/0.7998, allocations: 407.9 kB / 435 MB, free: 12.79 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.001012/0.8008, allocations: 189 kB / 435.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006772/0.8076, allocations: 2.16 MB / 437.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.8077, allocations: 0 / 437.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004543/0.8122, allocations: 1.474 MB / 438.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/0.8175, allocations: 359.5 kB / 439.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.8343, allocations: 4.774 MB / 443.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/0.8378, allocations: 1.62 MB / 445.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.8389, allocations: 103.4 kB / 445.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of SimCode: time 1.653e-06/0.839, allocations: 0 / 445.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Templates: time 0.1549/0.9938, allocations: 67.96 MB / 0.5016 GB, free: 14.04 MB / 430.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/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