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.001305/0.001305, allocations: 115.5 kB / 17.7 MB, free: 5.434 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.001334/0.001334, allocations: 188 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.35/1.35, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 46.64 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01124/0.1308, allocations: 9.372 MB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006755/0.1376, allocations: 2.983 MB / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.1394, allocations: 47.81 kB / 363.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.1419, allocations: 0.6288 MB / 364.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.146, allocations: 0.7649 MB / 365.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1474, allocations: 359.5 kB / 365.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004254/0.1517, allocations: 2.65 MB / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.1548, allocations: 2.155 MB / 370.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1959/0.3507, allocations: 1.185 MB / 371.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.3536, allocations: 1.492 MB / 373.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006839/0.3543, allocations: 308.2 kB / 373.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.3554, allocations: 400.8 kB / 373.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000939/0.3564, allocations: 0.8864 MB / 374.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.3582, allocations: 1.4 MB / 376.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.3635, allocations: 4.082 MB / 380.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3635, allocations: 0 / 380.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3635, allocations: 0.625 kB / 380.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.3637, allocations: 0.625 kB / 380.2 MB, free: 11.78 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.009117/0.3728, allocations: 2.849 MB / 383.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3729, allocations: 12.69 kB / 383.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.3739, allocations: 289.9 kB / 383.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.3771, allocations: 1.534 MB / 384.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3772, allocations: 154.3 kB / 385 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.3776, allocations: 202.3 kB / 385.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006526/0.3841, allocations: 2.737 MB / 388 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.3843, allocations: 2.375 kB / 388 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.3845, allocations: 85.83 kB / 388.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.3847, allocations: 100.4 kB / 388.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.3891, allocations: 2.325 MB / 390.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.4018, allocations: 8.309 MB / 398.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.4036, allocations: 1.784 MB / 400.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.4053, allocations: 1.059 MB / 401.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.4056, allocations: 127.7 kB / 401.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4056, allocations: 44.62 kB / 401.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.515e-06/0.4056, allocations: 0 / 401.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01279/0.4184, allocations: 6.193 MB / 408 MB, free: 9.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4185, allocations: 67.88 kB / 408.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.4207, allocations: 1.512 MB / 409.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.4209, allocations: 49.7 kB / 409.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006616/0.4215, allocations: 0.9863 MB / 410.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.4219, allocations: 419.7 kB / 411 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/0.4223, allocations: 247.5 kB / 411.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4224, allocations: 365.9 kB / 411.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.4235, allocations: 0.73 MB / 412.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.4248, allocations: 1.062 MB / 413.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.4272, allocations: 1.87 MB / 415.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4272, allocations: 8 kB / 415.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003873/0.4311, allocations: 2.35 MB / 417.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4312, allocations: 11.94 kB / 417.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.4312, allocations: 12 kB / 417.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/0.4321, allocations: 410.8 kB / 418.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4333, allocations: 333 kB / 418.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.4383, allocations: 5.058 MB / 423.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.4399, allocations: 91.97 kB / 423.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.44, allocations: 51.98 kB / 423.6 MB, free: 9 MB / 334.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[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001596/0.4416, allocations: 0.7106 MB / 424.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.442, allocations: 162 kB / 424.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/0.4455, allocations: 2.141 MB / 426.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4455, allocations: 12 kB / 426.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4455, allocations: 4 kB / 426.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4456, allocations: 3.984 kB / 426.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007836/0.4534, allocations: 4.573 MB / 431.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4534, allocations: 0.875 kB / 431.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/0.4544, allocations: 219.9 kB / 431.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.4556, allocations: 469.8 kB / 431.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/0.4557, allocations: 31.92 kB / 431.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/0.4619, allocations: 6.68 MB / 438.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4619, allocations: 7.969 kB / 438.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.467, allocations: 3.183 MB / 441.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.4683, allocations: 406.9 kB / 442.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.4685, allocations: 28 kB / 442.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.4694, allocations: 79.91 kB / 442.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.4697, allocations: 103.4 kB / 442.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.4698, allocations: 35.98 kB / 442.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.4713, allocations: 1.044 MB / 443.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4713, allocations: 4 kB / 443.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001624/0.473, allocations: 464.1 kB / 443.9 MB, free: 4.188 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 (not torn): 1 * 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): 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): 3 systems {(2,12,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.0004158/0.4734, allocations: 189.7 kB / 444.1 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003567/0.477, allocations: 2.269 MB / 446.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.477, allocations: 0.625 kB / 446.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.4791, allocations: 1.494 MB / 447.8 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.4815, allocations: 436.6 kB / 448.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/0.4887, allocations: 4.472 MB / 452.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4902, allocations: 1.822 MB / 454.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001284/0.4915, allocations: 393.5 kB / 455 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.4919, allocations: 111.4 kB / 455.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4919, allocations: 0 / 455.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of Templates: time 0.04421/0.5361, allocations: 25.52 MB / 480.6 MB, free: 15.69 MB / 398.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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