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.00114/0.00114, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001335/0.001335, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.643/1.643, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001427/0.001427, allocations: 51.92 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 46.62 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.3091/0.426, allocations: 38.35 MB / 413.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03433/0.4604, allocations: 10.01 MB / 423.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01512/0.4755, allocations: 247.1 kB / 423.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02783/0.5035, allocations: 10.19 MB / 434 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02111/0.5246, allocations: 4.08 MB / 438.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.5351, allocations: 2.409 MB / 440.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02798/0.5631, allocations: 16.54 MB / 457 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05707/0.6203, allocations: 31.18 MB / 488.2 MB, free: 14.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01777/0.6381, allocations: 8.575 MB / 496.8 MB, free: 5.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01846/0.6566, allocations: 9.421 MB / 0.4943 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008723/0.6653, allocations: 2.426 MB / 0.4967 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/0.679, allocations: 2.824 MB / 0.4995 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01107/0.6901, allocations: 4.863 MB / 0.5042 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02928/0.7195, allocations: 9.288 MB / 0.5133 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04839/0.7679, allocations: 32.12 MB / 0.5446 GB, free: 8.527 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.7679, allocations: 4 kB / 0.5446 GB, free: 8.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.768, allocations: 0 / 0.5446 GB, free: 8.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001155/0.7691, allocations: 4 kB / 0.5446 GB, free: 8.52 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.5341/1.303, allocations: 18.84 MB / 0.5631 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.303, allocations: 10.41 kB / 0.5631 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05448/1.358, allocations: 9.286 MB / 0.5721 GB, free: 130.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/1.38, allocations: 9.198 MB / 0.5811 GB, free: 123.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.381, allocations: 1.071 MB / 0.5822 GB, free: 123.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006989/1.388, allocations: 1.41 MB / 0.5835 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06717/1.455, allocations: 23.2 MB / 0.6062 GB, free: 99.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000762/1.456, allocations: 24.61 kB / 0.6062 GB, free: 99.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006658/1.463, allocations: 0.5891 MB / 0.6068 GB, free: 98.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007344/1.463, allocations: 0.811 MB / 0.6076 GB, free: 98.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04868/1.512, allocations: 21.69 MB / 0.6288 GB, free: 76.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/1.642, allocations: 73.23 MB / 0.7003 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0438/1.686, allocations: 53.56 MB / 0.7526 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00941/1.696, allocations: 5.347 MB / 0.7578 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3315/2.027, allocations: 15.42 MB / 0.7729 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/2.027, allocations: 87.86 kB / 0.7729 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 5.239e-06/2.027, allocations: 7.438 kB / 0.773 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.0625/2.09, allocations: 26.95 MB / 0.7993 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/2.09, allocations: 128.1 kB / 0.7994 GB, free: 167 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009273/2.099, allocations: 5.898 MB / 0.8052 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.1, allocations: 112.2 kB / 0.8053 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00344/2.104, allocations: 6.294 MB / 0.8114 GB, free: 160 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002125/2.106, allocations: 1.739 MB / 0.8131 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002363/2.108, allocations: 1.523 MB / 0.8146 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/2.108, allocations: 305.1 kB / 0.8149 GB, free: 157 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00449/2.113, allocations: 3.682 MB / 0.8185 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/2.119, allocations: 6.771 MB / 0.8251 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/2.131, allocations: 11.14 MB / 0.836 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/2.131, allocations: 32 kB / 0.836 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02559/2.157, allocations: 12.39 MB / 0.8481 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.157, allocations: 48 kB / 0.8482 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/2.157, allocations: 101 kB / 0.8483 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/2.162, allocations: 1.609 MB / 0.8498 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/2.168, allocations: 1.739 MB / 0.8515 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/2.19, allocations: 19.63 MB / 0.8707 GB, free: 96.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007463/2.197, allocations: 439.4 kB / 0.8711 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/2.199, allocations: 392 kB / 0.8715 GB, free: 95.45 MB / 0.5294 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.0118/2.211, allocations: 5.256 MB / 0.8766 GB, free: 90.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002732/2.214, allocations: 0.6059 MB / 0.8772 GB, free: 89.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/2.233, allocations: 9.37 MB / 0.8864 GB, free: 80.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01166/2.245, allocations: 5.88 MB / 0.8921 GB, free: 74.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.739e-05/2.245, allocations: 16 kB / 0.8921 GB, free: 74.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/2.245, allocations: 27.89 kB / 0.8921 GB, free: 74.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04634/2.291, allocations: 21.08 MB / 0.9127 GB, free: 52.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.239e-05/2.292, allocations: 8 kB / 0.9127 GB, free: 52.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004191/2.296, allocations: 0.8581 MB / 0.9136 GB, free: 52.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/2.301, allocations: 1.64 MB / 0.9152 GB, free: 50.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/2.302, allocations: 128 kB / 0.9153 GB, free: 50.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/2.325, allocations: 23.2 MB / 0.938 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/2.325, allocations: 11.94 kB / 0.938 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/2.346, allocations: 13.72 MB / 0.9514 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004128/2.35, allocations: 1.364 MB / 0.9527 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2943/2.645, allocations: 109.2 kB / 0.9528 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006576/2.651, allocations: 284.8 kB / 0.9531 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002118/2.653, allocations: 405.8 kB / 0.9535 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005889/2.654, allocations: 154.4 kB / 0.9536 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01008/2.664, allocations: 3.967 MB / 0.9575 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.472e-06/2.664, allocations: 0.5312 kB / 0.9575 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01669/2.681, allocations: 2.373 MB / 0.9598 GB, free: 165.8 MB / 0.5294 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.002345/2.683, allocations: 313.5 kB / 0.9601 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02185/2.705, allocations: 10.02 MB / 0.9699 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/2.705, allocations: 2.75 kB / 0.9699 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01133/2.716, allocations: 5.466 MB / 0.9752 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/2.727, allocations: 1.64 MB / 0.9768 GB, free: 160 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05905/2.786, allocations: 24.94 MB / 1.001 GB, free: 148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02171/2.808, allocations: 8.938 MB / 1.01 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01032/2.819, allocations: 2.587 MB / 1.012 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/2.822, allocations: 464.2 kB / 1.013 GB, free: 139 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/2.822, allocations: 3.938 kB / 1.013 GB, free: 139 MB / 0.5294 GB Notification: Performance of Templates: time 0.1563/2.978, allocations: 97.91 MB / 1.108 GB, free: 43.05 MB / 0.5294 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