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.001173/0.001173, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.00152/0.00152, allocations: 187 kB / 18.66 MB, free: 4.395 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.515/1.515, allocations: 205.1 MB / 224.5 MB, free: 12.26 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.00141/0.00141, allocations: 52.41 kB / 328.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 46.62 MB / 375.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.3031/0.4258, allocations: 38.35 MB / 413.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.4548, allocations: 10.01 MB / 423.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01278/0.4677, allocations: 248.3 kB / 423.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02724/0.495, allocations: 10.18 MB / 434 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02079/0.5158, allocations: 4.08 MB / 438.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009819/0.5257, allocations: 2.412 MB / 440.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02768/0.5533, allocations: 16.54 MB / 457 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05953/0.6129, allocations: 31.19 MB / 488.2 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0179/0.6309, allocations: 8.575 MB / 496.8 MB, free: 5.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01926/0.6502, allocations: 9.421 MB / 0.4943 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009229/0.6594, allocations: 2.426 MB / 0.4967 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.6717, allocations: 2.816 MB / 0.4994 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01268/0.6844, allocations: 4.875 MB / 0.5042 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02271/0.7072, allocations: 9.28 MB / 0.5133 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04826/0.7555, allocations: 32.13 MB / 0.5446 GB, free: 8.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.7556, allocations: 0 / 0.5446 GB, free: 8.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7556, allocations: 3.938 kB / 0.5447 GB, free: 8.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001108/0.7567, allocations: 4 kB / 0.5447 GB, free: 8.461 MB / 478.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.5958/1.352, allocations: 18.84 MB / 0.5631 GB, free: 91.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.353, allocations: 12.69 kB / 0.5631 GB, free: 91.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05502/1.408, allocations: 9.288 MB / 0.5721 GB, free: 91.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/1.432, allocations: 9.195 MB / 0.5811 GB, free: 86.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/1.433, allocations: 1.072 MB / 0.5822 GB, free: 85.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007586/1.441, allocations: 1.407 MB / 0.5835 GB, free: 84.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06074/1.502, allocations: 23.2 MB / 0.6062 GB, free: 61.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001422/1.503, allocations: 27.28 kB / 0.6062 GB, free: 61.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006774/1.51, allocations: 0.5806 MB / 0.6068 GB, free: 60.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000742/1.511, allocations: 0.8071 MB / 0.6076 GB, free: 59.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04779/1.559, allocations: 21.69 MB / 0.6288 GB, free: 37.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/1.71, allocations: 73.23 MB / 0.7003 GB, free: 12.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04631/1.757, allocations: 53.56 MB / 0.7526 GB, free: 0.5547 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01091/1.768, allocations: 5.359 MB / 0.7578 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3188/2.086, allocations: 15.42 MB / 0.7729 GB, free: 224.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/2.087, allocations: 91.08 kB / 0.773 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.326e-06/2.087, allocations: 0 / 0.773 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.06875/2.155, allocations: 26.95 MB / 0.7993 GB, free: 215.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/2.155, allocations: 134 kB / 0.7994 GB, free: 215.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009547/2.165, allocations: 5.899 MB / 0.8052 GB, free: 213.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/2.166, allocations: 110.9 kB / 0.8053 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003711/2.17, allocations: 6.285 MB / 0.8114 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002348/2.172, allocations: 1.749 MB / 0.8131 GB, free: 207.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/2.175, allocations: 1.524 MB / 0.8146 GB, free: 206.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/2.175, allocations: 301.1 kB / 0.8149 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004939/2.18, allocations: 3.69 MB / 0.8185 GB, free: 205 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006465/2.187, allocations: 6.77 MB / 0.8251 GB, free: 199.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.199, allocations: 11.15 MB / 0.836 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/2.199, allocations: 28 kB / 0.836 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02762/2.227, allocations: 12.4 MB / 0.8481 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/2.227, allocations: 52.03 kB / 0.8482 GB, free: 178 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/2.227, allocations: 100 kB / 0.8483 GB, free: 177.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004557/2.232, allocations: 1.602 MB / 0.8498 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007083/2.239, allocations: 1.739 MB / 0.8515 GB, free: 174.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/2.261, allocations: 19.64 MB / 0.8707 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007576/2.269, allocations: 435.3 kB / 0.8711 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/2.271, allocations: 388 kB / 0.8715 GB, free: 153.5 MB / 0.5763 GB 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 (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.2%), (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.01168/2.282, allocations: 5.261 MB / 0.8766 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003019/2.286, allocations: 0.6059 MB / 0.8772 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/2.306, allocations: 9.374 MB / 0.8864 GB, free: 138.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/2.317, allocations: 5.872 MB / 0.8921 GB, free: 132.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.25e-05/2.317, allocations: 20 kB / 0.8921 GB, free: 132.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001224/2.317, allocations: 23.91 kB / 0.8921 GB, free: 132.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05289/2.37, allocations: 21.08 MB / 0.9127 GB, free: 111 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/2.37, allocations: 4 kB / 0.9127 GB, free: 111 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004038/2.374, allocations: 0.8744 MB / 0.9136 GB, free: 110.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004513/2.378, allocations: 1.627 MB / 0.9152 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/2.379, allocations: 128 kB / 0.9153 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/2.402, allocations: 23.22 MB / 0.938 GB, free: 84.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/2.402, allocations: 11.94 kB / 0.938 GB, free: 84.22 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/2.424, allocations: 13.72 MB / 0.9514 GB, free: 70.13 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004818/2.429, allocations: 1.36 MB / 0.9527 GB, free: 68.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/2.431, allocations: 111.9 kB / 0.9528 GB, free: 68.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/2.436, allocations: 283.7 kB / 0.9531 GB, free: 68.36 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001626/2.438, allocations: 404.4 kB / 0.9535 GB, free: 67.96 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008532/2.439, allocations: 156 kB / 0.9536 GB, free: 67.81 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008137/2.447, allocations: 3.973 MB / 0.9575 GB, free: 63.87 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.81e-07/2.447, allocations: 0 / 0.9575 GB, free: 63.87 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01213/2.459, allocations: 2.368 MB / 0.9598 GB, free: 61.51 MB / 0.5763 GB 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/2.461, allocations: 310 kB / 0.9601 GB, free: 61.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01592/2.477, allocations: 10.01 MB / 0.9699 GB, free: 51.11 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.477, allocations: 5.422 kB / 0.9699 GB, free: 51.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0099/2.487, allocations: 5.465 MB / 0.9752 GB, free: 45.56 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/2.502, allocations: 1.652 MB / 0.9768 GB, free: 43.91 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3026/2.805, allocations: 24.93 MB / 1.001 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0182/2.823, allocations: 8.933 MB / 1.01 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00979/2.833, allocations: 2.592 MB / 1.012 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/2.836, allocations: 465.3 kB / 1.013 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.273e-06/2.836, allocations: 0 / 1.013 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1583/2.994, allocations: 97.9 MB / 1.108 GB, free: 123 MB / 0.5763 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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