Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 93.72 kB / 17.3 MB, free: 6.391 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.0009134/0.0009138, allocations: 173.4 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004735, allocations: 14.81 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 47.58 MB / 329 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04018/0.1586, allocations: 36.16 MB / 365.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02796/0.1866, allocations: 9.843 MB / 375 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.1984, allocations: 231.1 kB / 375.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.2089, allocations: 2.461 MB / 377.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2666/0.4755, allocations: 3.697 MB / 381.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009432/0.485, allocations: 2.13 MB / 383.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02978/0.5148, allocations: 16.84 MB / 400.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05154/0.5664, allocations: 29.31 MB / 429.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.581, allocations: 5.985 MB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01728/0.5983, allocations: 7.309 MB / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004799/0.6032, allocations: 0.9414 MB / 443.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008951/0.6121, allocations: 1.34 MB / 445.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005391/0.6175, allocations: 3.093 MB / 448.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01955/0.6371, allocations: 7.346 MB / 455.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04843/0.6856, allocations: 30.13 MB / 485.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.6857, allocations: 4 kB / 485.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.571e-06/0.6857, allocations: 0 / 485.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001037/0.6867, allocations: 0 / 485.8 MB, free: 2.109 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05451/0.7413, allocations: 15.73 MB / 0.4898 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.7413, allocations: 12.02 kB / 0.4898 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05143/0.7928, allocations: 9.277 MB / 0.4988 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/0.8157, allocations: 9.14 MB / 0.5078 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001445/0.8172, allocations: 1.076 MB / 0.5088 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006984/0.8242, allocations: 1.424 MB / 0.5102 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0739/0.8981, allocations: 23.23 MB / 0.5329 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009272/0.8991, allocations: 11.91 kB / 0.5329 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006569/0.9057, allocations: 0.5952 MB / 0.5335 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.9067, allocations: 0.8071 MB / 0.5343 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4858/1.393, allocations: 21.72 MB / 0.5555 GB, free: 128 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1258/1.518, allocations: 74.4 MB / 0.6282 GB, free: 68.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03395/1.552, allocations: 53.57 MB / 0.6805 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009073/1.562, allocations: 5.448 MB / 0.6858 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/1.595, allocations: 15.62 MB / 0.701 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.31e-05/1.595, allocations: 90.78 kB / 0.7011 GB, free: 3.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 6.442e-06/1.595, allocations: 0 / 0.7011 GB, free: 3.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.3223/1.918, allocations: 26.96 MB / 0.7275 GB, free: 152.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/1.918, allocations: 130.9 kB / 0.7276 GB, free: 152.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.932, allocations: 5.906 MB / 0.7333 GB, free: 150.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001179/1.933, allocations: 109.5 kB / 0.7334 GB, free: 150.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004583/1.938, allocations: 6.287 MB / 0.7396 GB, free: 145.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002528/1.94, allocations: 1.756 MB / 0.7413 GB, free: 144.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/1.942, allocations: 0.6192 MB / 0.7419 GB, free: 144 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/1.942, allocations: 304.9 kB / 0.7422 GB, free: 143.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005478/1.947, allocations: 3.734 MB / 0.7458 GB, free: 142.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/1.954, allocations: 6.821 MB / 0.7525 GB, free: 136.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.969, allocations: 11.25 MB / 0.7635 GB, free: 129.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.969, allocations: 29.59 kB / 0.7635 GB, free: 129.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.0223/1.992, allocations: 12.5 MB / 0.7757 GB, free: 124 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/1.992, allocations: 50.62 kB / 0.7758 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/1.992, allocations: 101.7 kB / 0.7759 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/1.996, allocations: 1.598 MB / 0.7774 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/2.003, allocations: 1.743 MB / 0.7791 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/2.022, allocations: 18.23 MB / 0.7969 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/2.029, allocations: 447.4 kB / 0.7974 GB, free: 107.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/2.03, allocations: 390.9 kB / 0.7977 GB, free: 107.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.9%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009715/2.04, allocations: 5.243 MB / 0.8029 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/2.042, allocations: 0.6134 MB / 0.8035 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/2.057, allocations: 9.491 MB / 0.8127 GB, free: 92.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007823/2.065, allocations: 5.959 MB / 0.8185 GB, free: 86.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-05/2.065, allocations: 20 kB / 0.8186 GB, free: 86.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/2.065, allocations: 23.91 kB / 0.8186 GB, free: 86.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0361/2.101, allocations: 21.25 MB / 0.8393 GB, free: 65.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/2.101, allocations: 8 kB / 0.8393 GB, free: 65.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/2.104, allocations: 0.8666 MB / 0.8402 GB, free: 64.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/2.109, allocations: 1.637 MB / 0.8418 GB, free: 62.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007085/2.11, allocations: 127.7 kB / 0.8419 GB, free: 62.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/2.13, allocations: 21.39 MB / 0.8628 GB, free: 40.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.13, allocations: 12.06 kB / 0.8628 GB, free: 40.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/2.149, allocations: 13.9 MB / 0.8764 GB, free: 26.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/2.153, allocations: 1.38 MB / 0.8777 GB, free: 24.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/2.155, allocations: 103.9 kB / 0.8778 GB, free: 24.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/2.158, allocations: 299.7 kB / 0.8781 GB, free: 24.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/2.159, allocations: 408.4 kB / 0.8785 GB, free: 23.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/2.159, allocations: 152 kB / 0.8787 GB, free: 23.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005776/2.165, allocations: 3.969 MB / 0.8825 GB, free: 19.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.165, allocations: 0 / 0.8825 GB, free: 19.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01054/2.176, allocations: 2.37 MB / 0.8849 GB, free: 17.45 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/2.177, allocations: 324 kB / 0.8852 GB, free: 17.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2467/2.423, allocations: 10.09 MB / 0.895 GB, free: 145 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/2.423, allocations: 1.219 kB / 0.895 GB, free: 145 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01165/2.435, allocations: 5.507 MB / 0.9004 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/2.448, allocations: 1.557 MB / 0.9019 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04783/2.496, allocations: 31.49 MB / 0.9327 GB, free: 126.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.508, allocations: 8.93 MB / 0.9414 GB, free: 123 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00812/2.516, allocations: 2.598 MB / 0.9439 GB, free: 122.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/2.518, allocations: 468.5 kB / 0.9444 GB, free: 122.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.031e-06/2.518, allocations: 0 / 0.9444 GB, free: 122.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1611/2.679, allocations: 98.18 MB / 1.04 GB, free: 26.74 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches