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.001129/0.001129, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.88 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 50.54 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01117/0.2958, allocations: 8.874 MB / 418.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006496/0.3023, allocations: 2.886 MB / 421 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.3042, allocations: 43.81 kB / 421.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.3065, allocations: 0.6407 MB / 421.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.3094, allocations: 0.7379 MB / 422.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3106, allocations: 323.5 kB / 422.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.3139, allocations: 2.24 MB / 425 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.3165, allocations: 1.742 MB / 426.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.3182, allocations: 1.036 MB / 427.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.3204, allocations: 1.281 MB / 429 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000629/0.3211, allocations: 272 kB / 429.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3221, allocations: 363.8 kB / 429.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009716/0.3231, allocations: 0.7558 MB / 430.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.3252, allocations: 1.213 MB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.3292, allocations: 3.541 MB / 435.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3292, allocations: 0 / 435.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3292, allocations: 0 / 435.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.3294, allocations: 0 / 435.2 MB, free: 7.496 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.006583/0.3359, allocations: 2.497 MB / 437.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.336, allocations: 8.031 kB / 437.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3372, allocations: 250.2 kB / 437.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.34, allocations: 1.313 MB / 439.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.3401, allocations: 135.9 kB / 439.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.3405, allocations: 183.8 kB / 439.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.3446, allocations: 2.378 MB / 441.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.3446, allocations: 3.906 kB / 441.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.3448, allocations: 72 kB / 442 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.3449, allocations: 95.5 kB / 442.1 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.3484, allocations: 1.962 MB / 444.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.3603, allocations: 7.062 MB / 451.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.3621, allocations: 1.273 MB / 452.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3637, allocations: 0.8581 MB / 453.3 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.3639, allocations: 122.1 kB / 453.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.364, allocations: 39.56 kB / 453.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.706e-06/0.364, allocations: 4 kB / 453.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0133/0.3773, allocations: 6.104 MB / 459.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3774, allocations: 64.41 kB / 459.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.3795, allocations: 1.227 MB / 460.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.004e-05/0.3796, allocations: 45.64 kB / 460.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.3803, allocations: 0.8614 MB / 461.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.3806, allocations: 362.8 kB / 462.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.381, allocations: 222.8 kB / 462.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3811, allocations: 353.9 kB / 462.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/0.3821, allocations: 0.6155 MB / 463.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.3833, allocations: 0.9188 MB / 464.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.3855, allocations: 1.647 MB / 465.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3856, allocations: 4 kB / 465.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003771/0.3893, allocations: 2.219 MB / 468 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.3894, allocations: 12 kB / 468 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.3894, allocations: 8 kB / 468.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.3906, allocations: 483.9 kB / 468.5 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/0.3916, allocations: 271.6 kB / 468.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00686/0.3984, allocations: 7.005 MB / 475.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3997, allocations: 83.81 kB / 475.9 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3998, allocations: 48 kB / 475.9 MB, free: 13.36 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.001244/0.4011, allocations: 0.6105 MB / 476.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.4015, allocations: 134.3 kB / 476.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.4053, allocations: 2.031 MB / 478.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4053, allocations: 12 kB / 478.7 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.4053, allocations: 4 kB / 478.7 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.4054, allocations: 11.91 kB / 478.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.4133, allocations: 4.215 MB / 482.9 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4134, allocations: 8.031 kB / 483 MB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.4141, allocations: 183.8 kB / 483.1 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.4155, allocations: 0.5075 MB / 483.6 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4156, allocations: 31.98 kB / 483.7 MB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008403/0.4241, allocations: 8.632 MB / 492.3 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4241, allocations: 8.062 kB / 492.3 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.429, allocations: 2.941 MB / 495.3 MB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.4299, allocations: 351.2 kB / 495.6 MB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/0.4304, allocations: 35.92 kB / 495.6 MB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4314, allocations: 71.92 kB / 495.7 MB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.4316, allocations: 88.81 kB / 495.8 MB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.4317, allocations: 35.94 kB / 495.8 MB, free: 8.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.4332, allocations: 0.8423 MB / 496.7 MB, free: 7.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4332, allocations: 0 / 496.7 MB, free: 7.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001739/0.435, allocations: 412 kB / 497.1 MB, free: 7.328 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.0004129/0.4354, allocations: 186.9 kB / 497.2 MB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003689/0.4391, allocations: 2.165 MB / 499.4 MB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4391, allocations: 4 kB / 499.4 MB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.4415, allocations: 1.464 MB / 0.4891 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.4436, allocations: 397.9 kB / 0.4895 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.4509, allocations: 3.899 MB / 0.4933 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.4527, allocations: 1.63 MB / 0.4949 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.4537, allocations: 303.8 kB / 0.4952 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.4541, allocations: 99.41 kB / 0.4953 GB, free: 12.94 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4541, allocations: 0 / 0.4953 GB, free: 12.94 MB / 430.1 MB Notification: Performance of Templates: time 0.05594/0.5101, allocations: 22.72 MB / 0.5175 GB, free: 6.418 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