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.001249/0.001249, allocations: 117.4 kB / 16.63 MB, free: 6.812 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.001474/0.001475, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.459/1.459, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 46.52 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 49.45 MB / 349.6 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01152/0.1284, allocations: 8.788 MB / 358.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.135, allocations: 2.797 MB / 361.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.1372, allocations: 43.81 kB / 361.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.1397, allocations: 0.5323 MB / 361.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1428, allocations: 0.6255 MB / 362.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1441, allocations: 287.7 kB / 362.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003497/0.1476, allocations: 2.214 MB / 364.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.1501, allocations: 1.746 MB / 366.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.1521, allocations: 1.016 MB / 367.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.1541, allocations: 1.312 MB / 368.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.1545, allocations: 268 kB / 369.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.1554, allocations: 359.8 kB / 369.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2289/0.3843, allocations: 0.7589 MB / 370.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.3868, allocations: 1.207 MB / 371.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005536/0.3923, allocations: 3.484 MB / 375 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3924, allocations: 1.531 kB / 375 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3924, allocations: 4.219 kB / 375 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001527/0.3926, allocations: 3.188 kB / 375 MB, free: 12.99 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.009397/0.402, allocations: 2.482 MB / 377.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.4021, allocations: 10.23 kB / 377.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.403, allocations: 252 kB / 377.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.4053, allocations: 1.265 MB / 379 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4055, allocations: 138.7 kB / 379.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.4059, allocations: 183 kB / 379.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005097/0.411, allocations: 2.378 MB / 381.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.4111, allocations: 7.016 kB / 381.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4112, allocations: 71.59 kB / 381.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.4114, allocations: 92.08 kB / 381.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.4151, allocations: 1.962 MB / 383.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.4279, allocations: 7.152 MB / 391 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4297, allocations: 1.273 MB / 392.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.4312, allocations: 0.8714 MB / 393.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.4315, allocations: 122.9 kB / 393.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4315, allocations: 43.09 kB / 393.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/0.4315, allocations: 0 / 393.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01401/0.4455, allocations: 6.096 MB / 399.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4456, allocations: 61.75 kB / 399.4 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.4476, allocations: 1.211 MB / 400.7 MB, free: 108 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4478, allocations: 44.45 kB / 400.7 MB, free: 64 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008509/0.4487, allocations: 0.8661 MB / 401.6 MB, free: 15.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.4491, allocations: 365.6 kB / 401.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.4497, allocations: 218.8 kB / 402.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002853/0.45, allocations: 357.9 kB / 402.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4513, allocations: 0.6194 MB / 403.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.4526, allocations: 0.9222 MB / 404 MB, free: 12.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.455, allocations: 1.639 MB / 405.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.455, allocations: 4 kB / 405.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004062/0.4591, allocations: 2.222 MB / 407.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4591, allocations: 8 kB / 407.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4592, allocations: 8 kB / 407.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4603, allocations: 486.8 kB / 408.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4614, allocations: 268.6 kB / 408.6 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/0.4686, allocations: 7.027 MB / 415.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4702, allocations: 87.81 kB / 415.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.4704, allocations: 44 kB / 415.8 MB, free: 476 kB / 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.001711/0.4721, allocations: 0.5987 MB / 416.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.4725, allocations: 138.4 kB / 416.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.4764, allocations: 2.031 MB / 418.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4764, allocations: 12 kB / 418.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.4764, allocations: 4 kB / 418.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4765, allocations: 7.922 kB / 418.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007947/0.4844, allocations: 4.221 MB / 422.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.4845, allocations: 4 kB / 422.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.4853, allocations: 180.5 kB / 423 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.4867, allocations: 0.5182 MB / 423.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/0.4869, allocations: 31.98 kB / 423.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008723/0.4956, allocations: 8.635 MB / 432.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.4956, allocations: 10.78 kB / 432.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.5007, allocations: 2.936 MB / 435.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.5018, allocations: 347.3 kB / 435.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.502, allocations: 28 kB / 435.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.5028, allocations: 71.92 kB / 435.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.5031, allocations: 94.44 kB / 435.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.5032, allocations: 31.98 kB / 435.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.5048, allocations: 0.8408 MB / 436.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5048, allocations: 0 / 436.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001949/0.5068, allocations: 408 kB / 436.9 MB, free: 10.66 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.0005188/0.5073, allocations: 213.4 kB / 437.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004574/0.5119, allocations: 2.499 MB / 439.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5119, allocations: 0 / 439.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.5143, allocations: 1.467 MB / 441.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.5164, allocations: 385.3 kB / 441.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.5239, allocations: 4.736 MB / 446.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.5253, allocations: 1.634 MB / 447.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.5264, allocations: 299.8 kB / 448.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.5267, allocations: 98.23 kB / 448.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5267, allocations: 0 / 448.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.04442/0.5711, allocations: 22.23 MB / 470.5 MB, free: 9.238 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