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.001291/0.001291, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001229/0.001229, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.435/1.435, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.0012/0.0012, allocations: 51.92 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09302, allocations: 46.62 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2498/0.3429, allocations: 38.36 MB / 414.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.3727, allocations: 10.01 MB / 424.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.3848, allocations: 248.2 kB / 424.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0266/0.4115, allocations: 10.19 MB / 434.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01936/0.4309, allocations: 4.078 MB / 438.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009654/0.4405, allocations: 2.415 MB / 441.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02826/0.4688, allocations: 16.53 MB / 457.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06096/0.5299, allocations: 31.19 MB / 488.9 MB, free: 14.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01958/0.5495, allocations: 8.575 MB / 497.4 MB, free: 5.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01924/0.5688, allocations: 9.417 MB / 0.495 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00915/0.578, allocations: 2.43 MB / 0.4974 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.5908, allocations: 2.816 MB / 0.5001 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009665/0.6005, allocations: 4.871 MB / 0.5049 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02394/0.6245, allocations: 9.276 MB / 0.5139 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04593/0.6704, allocations: 32.14 MB / 0.5453 GB, free: 8.504 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.6705, allocations: 0 / 0.5453 GB, free: 8.504 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6705, allocations: 0 / 0.5453 GB, free: 8.504 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001111/0.6716, allocations: 0 / 0.5453 GB, free: 8.504 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.5967/1.268, allocations: 18.84 MB / 0.5637 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.268, allocations: 10.39 kB / 0.5637 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05647/1.325, allocations: 9.286 MB / 0.5728 GB, free: 130.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/1.346, allocations: 9.199 MB / 0.5818 GB, free: 124 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/1.348, allocations: 1.071 MB / 0.5828 GB, free: 123.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006397/1.354, allocations: 1.409 MB / 0.5842 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06185/1.416, allocations: 23.2 MB / 0.6068 GB, free: 99.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008141/1.417, allocations: 25.33 kB / 0.6069 GB, free: 99.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006226/1.423, allocations: 0.5891 MB / 0.6074 GB, free: 98.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007396/1.424, allocations: 0.8071 MB / 0.6082 GB, free: 98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04359/1.467, allocations: 21.69 MB / 0.6294 GB, free: 76.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/1.587, allocations: 73.23 MB / 0.7009 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05026/1.637, allocations: 53.55 MB / 0.7532 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009581/1.646, allocations: 5.35 MB / 0.7585 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.272/1.919, allocations: 15.43 MB / 0.7735 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/1.919, allocations: 84.67 kB / 0.7736 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.813e-06/1.919, allocations: 3.938 kB / 0.7736 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.05734/1.976, allocations: 26.96 MB / 0.7999 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/1.976, allocations: 136.1 kB / 0.8001 GB, free: 167 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008574/1.985, allocations: 5.898 MB / 0.8058 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.986, allocations: 107.6 kB / 0.8059 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002898/1.989, allocations: 6.288 MB / 0.8121 GB, free: 160 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.991, allocations: 1.741 MB / 0.8138 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/1.993, allocations: 1.523 MB / 0.8153 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/1.993, allocations: 301.7 kB / 0.8155 GB, free: 157 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/1.997, allocations: 3.689 MB / 0.8191 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005546/2.003, allocations: 6.777 MB / 0.8258 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/2.014, allocations: 11.14 MB / 0.8366 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.764e-05/2.014, allocations: 32 kB / 0.8367 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01832/2.033, allocations: 12.4 MB / 0.8488 GB, free: 120 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/2.033, allocations: 51.75 kB / 0.8488 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/2.033, allocations: 100 kB / 0.8489 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/2.037, allocations: 1.592 MB / 0.8505 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/2.043, allocations: 1.743 MB / 0.8522 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/2.063, allocations: 19.64 MB / 0.8714 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/2.07, allocations: 432.3 kB / 0.8718 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/2.072, allocations: 395.9 kB / 0.8721 GB, free: 95.44 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.009728/2.082, allocations: 5.252 MB / 0.8773 GB, free: 90.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/2.084, allocations: 0.5981 MB / 0.8779 GB, free: 89.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/2.098, allocations: 9.372 MB / 0.887 GB, free: 80.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007632/2.106, allocations: 5.876 MB / 0.8928 GB, free: 74.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-05/2.106, allocations: 20.12 kB / 0.8928 GB, free: 74.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/2.106, allocations: 31.91 kB / 0.8928 GB, free: 74.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0345/2.141, allocations: 21.07 MB / 0.9134 GB, free: 52.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/2.141, allocations: 15.97 kB / 0.9134 GB, free: 52.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/2.144, allocations: 0.8582 MB / 0.9142 GB, free: 52.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/2.148, allocations: 1.636 MB / 0.9158 GB, free: 50.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006737/2.149, allocations: 128 kB / 0.916 GB, free: 50.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/2.17, allocations: 23.21 MB / 0.9386 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.17, allocations: 8 kB / 0.9386 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/2.189, allocations: 13.72 MB / 0.952 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/2.193, allocations: 1.376 MB / 0.9534 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3066/2.5, allocations: 98.8 kB / 0.9535 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006253/2.506, allocations: 283.8 kB / 0.9537 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00227/2.508, allocations: 405.7 kB / 0.9541 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006455/2.509, allocations: 152.5 kB / 0.9543 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01065/2.52, allocations: 3.967 MB / 0.9581 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.703e-06/2.52, allocations: 3.781 kB / 0.9581 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01461/2.534, allocations: 2.372 MB / 0.9605 GB, free: 165.7 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.001746/2.536, allocations: 315.3 kB / 0.9608 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02016/2.556, allocations: 10.01 MB / 0.9705 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/2.556, allocations: 1.812 kB / 0.9705 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/2.567, allocations: 5.458 MB / 0.9759 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/2.578, allocations: 1.645 MB / 0.9775 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0489/2.627, allocations: 24.55 MB / 1.001 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008832/2.636, allocations: 8.653 MB / 1.01 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/2.639, allocations: 0.5213 MB / 1.01 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/2.639, allocations: 4 kB / 1.01 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of Templates: time 1.632/4.271, allocations: 0.6741 GB / 1.684 GB, free: 100.7 MB / 0.5607 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/jenkins1/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/jenkins1/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