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.001063/0.001063, allocations: 116.5 kB / 17.7 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.001008/0.001008, allocations: 191 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.385/1.385, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.31 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.133, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01887/0.1519, allocations: 8.831 MB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1626, allocations: 2.827 MB / 363.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.1646, allocations: 47.81 kB / 363.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.1681, allocations: 0.6016 MB / 363.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.1727, allocations: 0.7027 MB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1746, allocations: 323.5 kB / 364.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.1802, allocations: 2.229 MB / 367.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004566/0.1848, allocations: 1.742 MB / 368.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.188, allocations: 1.008 MB / 369.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2659/0.454, allocations: 1.281 MB / 371.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.4551, allocations: 267.9 kB / 371.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.4562, allocations: 358.2 kB / 371.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.457, allocations: 0.7578 MB / 372.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.4585, allocations: 1.204 MB / 373.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.4627, allocations: 3.522 MB / 377.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4627, allocations: 0.5625 kB / 377.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4627, allocations: 0 / 377.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.778e-05/0.4628, allocations: 1.375 kB / 377.2 MB, free: 12.68 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.005744/0.4686, allocations: 2.486 MB / 379.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4686, allocations: 8.75 kB / 379.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.4693, allocations: 252.3 kB / 379.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.4717, allocations: 1.302 MB / 381.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.4718, allocations: 134.9 kB / 381.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.4721, allocations: 188.4 kB / 381.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/0.4763, allocations: 2.375 MB / 383.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.4763, allocations: 3.344 kB / 383.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.4765, allocations: 73.22 kB / 384 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.4767, allocations: 103.5 kB / 384.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.48, allocations: 1.957 MB / 386.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.4911, allocations: 7.068 MB / 393.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.4927, allocations: 1.272 MB / 394.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4941, allocations: 0.862 MB / 395.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.4944, allocations: 125 kB / 395.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4944, allocations: 39.69 kB / 395.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.886e-06/0.4944, allocations: 5.375 kB / 395.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01168/0.5061, allocations: 6.093 MB / 401.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5062, allocations: 62.34 kB / 401.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.508, allocations: 1.215 MB / 402.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.999e-05/0.5081, allocations: 41.7 kB / 402.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.5086, allocations: 0.8651 MB / 403.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.5089, allocations: 366.4 kB / 404.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.5093, allocations: 222.8 kB / 404.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5094, allocations: 357.9 kB / 404.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.5103, allocations: 0.6176 MB / 405.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5115, allocations: 0.9238 MB / 406.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.5136, allocations: 1.642 MB / 407.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.5137, allocations: 4 kB / 407.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004001/0.5177, allocations: 2.224 MB / 410 MB, free: 7.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.5177, allocations: 8 kB / 410.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5178, allocations: 8 kB / 410.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.5188, allocations: 480.9 kB / 410.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.5198, allocations: 269.1 kB / 410.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.5265, allocations: 7.016 MB / 417.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5279, allocations: 83.89 kB / 417.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.528, allocations: 51.98 kB / 417.9 MB, free: 14.93 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.001194/0.5292, allocations: 0.5876 MB / 418.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.5295, allocations: 130.4 kB / 418.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.5329, allocations: 2.037 MB / 420.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5329, allocations: 8 kB / 420.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5329, allocations: 8 kB / 420.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.533, allocations: 11.97 kB / 420.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/0.5399, allocations: 4.222 MB / 424.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.54, allocations: 4 kB / 424.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.5407, allocations: 178.9 kB / 425.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.542, allocations: 0.519 MB / 425.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.5421, allocations: 35.92 kB / 425.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.5494, allocations: 8.631 MB / 434.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5494, allocations: 4 kB / 434.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/0.5538, allocations: 2.938 MB / 437.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009579/0.5548, allocations: 347.3 kB / 437.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.5551, allocations: 31.98 kB / 437.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.5558, allocations: 67.92 kB / 437.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.5561, allocations: 94.16 kB / 437.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.5562, allocations: 35.94 kB / 437.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.5574, allocations: 0.8382 MB / 438.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5574, allocations: 0 / 438.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00153/0.559, allocations: 408 kB / 439 MB, free: 9.133 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.0003893/0.5594, allocations: 198.5 kB / 439.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00358/0.563, allocations: 2.165 MB / 441.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.563, allocations: 2 kB / 441.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.5652, allocations: 1.484 MB / 442.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5674, allocations: 378.4 kB / 443.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/0.574, allocations: 3.899 MB / 447.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.5757, allocations: 1.638 MB / 448.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009807/0.5767, allocations: 303.8 kB / 449.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.577, allocations: 95.42 kB / 449.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.577, allocations: 0 / 449.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Templates: time 0.04504/0.6221, allocations: 22.26 MB / 471.5 MB, free: 8.848 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 gbode -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