Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 90.89 kB / 16.31 MB, free: 6.133 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.001195/0.001195, allocations: 182.9 kB / 17.2 MB, free: 6.016 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.376/1.376, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 4.688 kB / 300.7 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 50.41 MB / 351.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008669/0.1265, allocations: 7.601 MB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006419/0.133, allocations: 2.885 MB / 361.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.1349, allocations: 39.81 kB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.1369, allocations: 0.5247 MB / 362.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.1396, allocations: 0.6504 MB / 362.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.1404, allocations: 219.7 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.1432, allocations: 1.7 MB / 364.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.1449, allocations: 1.367 MB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1462, allocations: 0.8251 MB / 367 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.1478, allocations: 1.055 MB / 368 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.148, allocations: 132 kB / 368.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.1485, allocations: 191.8 kB / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.1492, allocations: 0.6465 MB / 369 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.1497, allocations: 496.5 kB / 369.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2405/0.3903, allocations: 3.222 MB / 372.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3903, allocations: 0 / 372.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.3903, allocations: 0 / 372.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.3905, allocations: 1.094 kB / 372.7 MB, free: 12.59 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006462/0.397, allocations: 2.436 MB / 375.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.397, allocations: 9.031 kB / 375.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.3981, allocations: 287.5 kB / 375.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.4025, allocations: 1.456 MB / 376.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.4028, allocations: 154.3 kB / 377 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000697/0.4035, allocations: 204.7 kB / 377.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.4094, allocations: 2.709 MB / 379.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/0.4095, allocations: 14.59 kB / 379.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.4097, allocations: 80.88 kB / 380 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.4099, allocations: 93.97 kB / 380.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004677/0.4146, allocations: 2.334 MB / 382.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.4297, allocations: 8.416 MB / 390.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4316, allocations: 1.777 MB / 392.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.4319, allocations: 122.1 kB / 392.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4319, allocations: 51.41 kB / 392.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 3.466e-06/0.4319, allocations: 0 / 392.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01397/0.4459, allocations: 6.307 MB / 399.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.446, allocations: 67.42 kB / 399.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.4479, allocations: 1.457 MB / 400.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.448, allocations: 45.7 kB / 400.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.4485, allocations: 0.9917 MB / 401.7 MB, free: 152 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.4489, allocations: 416.1 kB / 402.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.449, allocations: 28 kB / 402.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.4492, allocations: 361.9 kB / 402.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.4505, allocations: 0.7417 MB / 403.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.452, allocations: 1.066 MB / 404.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.4533, allocations: 0.888 MB / 405.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.4533, allocations: 4 kB / 405.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00407/0.4574, allocations: 2.37 MB / 407.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4575, allocations: 16 kB / 407.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4575, allocations: 11.28 kB / 407.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000969/0.4585, allocations: 404.1 kB / 407.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4597, allocations: 339 kB / 408.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.4648, allocations: 4.73 MB / 413 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4665, allocations: 91.97 kB / 413.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.4666, allocations: 63.98 kB / 413.2 MB, free: 4.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001651/0.4683, allocations: 0.7071 MB / 413.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.4687, allocations: 170 kB / 414 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.4724, allocations: 2.166 MB / 416.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4725, allocations: 8 kB / 416.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4725, allocations: 11.98 kB / 416.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4725, allocations: 3.984 kB / 416.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008618/0.4811, allocations: 4.559 MB / 420.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4812, allocations: 5.641 kB / 420.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009889/0.4822, allocations: 230.2 kB / 421 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.4835, allocations: 462.7 kB / 421.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.4836, allocations: 35.98 kB / 421.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/0.4897, allocations: 6.264 MB / 427.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4897, allocations: 4.031 kB / 427.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.4954, allocations: 3.356 MB / 431.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.4969, allocations: 395 kB / 431.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005906/0.4975, allocations: 31.98 kB / 431.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.4985, allocations: 79.92 kB / 431.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.4988, allocations: 110.2 kB / 431.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.4989, allocations: 35.98 kB / 431.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.5008, allocations: 1.009 MB / 432.8 MB, free: 196 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5008, allocations: 0 / 432.8 MB, free: 196 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001821/0.5026, allocations: 456 kB / 433.2 MB, free: 15.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/0.503, allocations: 149.2 kB / 433.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.5069, allocations: 2.289 MB / 435.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.507, allocations: 4 kB / 435.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.5093, allocations: 1.508 MB / 437.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.5118, allocations: 409.1 kB / 437.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5224, allocations: 5.323 MB / 442.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.5248, allocations: 1.861 MB / 444.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001676/0.5265, allocations: 393.4 kB / 445.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.5271, allocations: 111.4 kB / 445.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5271, allocations: 0 / 445.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of Templates: time 0.0444/0.5715, allocations: 22.97 MB / 468.2 MB, free: 12.91 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches