Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 358.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2633, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04175/0.3051, allocations: 38.92 MB / 448.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.3272, allocations: 10.31 MB / 458.5 MB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007236/0.3345, allocations: 295.2 kB / 458.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02369/0.3582, allocations: 10.26 MB / 469.1 MB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01715/0.3754, allocations: 4.133 MB / 473.2 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008245/0.3837, allocations: 2.419 MB / 475.6 MB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.021/0.4047, allocations: 16.52 MB / 492.1 MB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05437/0.4591, allocations: 31.21 MB / 0.5111 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.472, allocations: 8.509 MB / 0.5194 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01433/0.4863, allocations: 9.492 MB / 0.5287 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006679/0.4931, allocations: 2.418 MB / 0.531 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009208/0.5023, allocations: 2.832 MB / 0.5338 GB, free: 7.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008058/0.5104, allocations: 4.809 MB / 0.5385 GB, free: 2.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4565/0.9669, allocations: 9.212 MB / 0.5475 GB, free: 48.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03111/0.9981, allocations: 32.16 MB / 0.5789 GB, free: 40.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9981, allocations: 2.75 kB / 0.5789 GB, free: 40.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9981, allocations: 0 / 0.5789 GB, free: 40.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008454/0.999, allocations: 0 / 0.5789 GB, free: 40.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05427/1.053, allocations: 18.72 MB / 0.5972 GB, free: 29.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.053, allocations: 7.781 kB / 0.5972 GB, free: 29.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04272/1.096, allocations: 8.347 MB / 0.6053 GB, free: 25.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02104/1.117, allocations: 10.24 MB / 0.6153 GB, free: 16.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008344/1.118, allocations: 1.061 MB / 0.6164 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005289/1.123, allocations: 1.387 MB / 0.6177 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05393/1.177, allocations: 22.75 MB / 0.6399 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006887/1.178, allocations: 19.8 kB / 0.64 GB, free: 6.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005357/1.183, allocations: 0.576 MB / 0.6405 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008839/1.184, allocations: 0.7791 MB / 0.6413 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05426/1.238, allocations: 21.01 MB / 0.6618 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1328/1.371, allocations: 72.66 MB / 0.7328 GB, free: 7.316 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2663/1.638, allocations: 42.71 MB / 0.7745 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008208/1.646, allocations: 5.193 MB / 0.7795 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.667, allocations: 12.96 MB / 0.7922 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/1.667, allocations: 100.2 kB / 0.7923 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.322e-06/1.667, allocations: 3.406 kB / 0.7923 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04846/1.715, allocations: 26.29 MB / 0.818 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.716, allocations: 132.2 kB / 0.8181 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008584/1.724, allocations: 5.791 MB / 0.8238 GB, free: 163 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006126/1.725, allocations: 108.2 kB / 0.8239 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.727, allocations: 6.166 MB / 0.8299 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.729, allocations: 1.731 MB / 0.8316 GB, free: 156 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/1.731, allocations: 1.462 MB / 0.833 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/1.731, allocations: 301.1 kB / 0.8333 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004755/1.736, allocations: 3.628 MB / 0.8368 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.742, allocations: 6.481 MB / 0.8432 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.754, allocations: 10.76 MB / 0.8537 GB, free: 133 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.258e-05/1.754, allocations: 28 kB / 0.8537 GB, free: 133 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02121/1.775, allocations: 12.09 MB / 0.8655 GB, free: 121 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/1.775, allocations: 44 kB / 0.8655 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.776, allocations: 97.31 kB / 0.8656 GB, free: 120.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/1.78, allocations: 1.594 MB / 0.8672 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/1.786, allocations: 1.665 MB / 0.8688 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/1.804, allocations: 19.62 MB / 0.888 GB, free: 97.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005973/1.81, allocations: 427.3 kB / 0.8884 GB, free: 96.87 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.812, allocations: 368 kB / 0.8887 GB, free: 96.51 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (865): * Single equations (assignments): 858 * 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,52.1%), (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.008878/1.821, allocations: 5.194 MB / 0.8938 GB, free: 91.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/1.822, allocations: 0.5942 MB / 0.8944 GB, free: 90.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.838, allocations: 9.37 MB / 0.9035 GB, free: 81.23 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01024/1.849, allocations: 5.864 MB / 0.9093 GB, free: 75.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.098e-05/1.849, allocations: 24 kB / 0.9093 GB, free: 75.31 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/1.849, allocations: 27.89 kB / 0.9093 GB, free: 75.29 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03843/1.887, allocations: 21.01 MB / 0.9298 GB, free: 54.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.887, allocations: 4 kB / 0.9298 GB, free: 54.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/1.891, allocations: 0.8582 MB / 0.9307 GB, free: 53.32 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/1.895, allocations: 1.642 MB / 0.9323 GB, free: 51.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007458/1.896, allocations: 134.2 kB / 0.9324 GB, free: 51.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/1.918, allocations: 23.18 MB / 0.955 GB, free: 27.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.918, allocations: 8 kB / 0.955 GB, free: 27.41 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/1.939, allocations: 13.73 MB / 0.9684 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/1.942, allocations: 1.352 MB / 0.9698 GB, free: 11.95 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/1.944, allocations: 108.2 kB / 0.9699 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.948, allocations: 283.7 kB / 0.9701 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009652/1.949, allocations: 420.2 kB / 0.9705 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004148/1.949, allocations: 152 kB / 0.9707 GB, free: 11 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006464/1.955, allocations: 3.904 MB / 0.9745 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.8e-07/1.955, allocations: 0 / 0.9745 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008189/1.964, allocations: 2.34 MB / 0.9768 GB, free: 4.789 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,5,100.0%), (1,8,100.0%), (1,13,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.0008609/1.964, allocations: 324.5 kB / 0.9771 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2275/2.192, allocations: 9.871 MB / 0.9867 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.192, allocations: 3.969 kB / 0.9867 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007812/2.2, allocations: 5.44 MB / 0.9921 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/2.207, allocations: 1.64 MB / 0.9937 GB, free: 194.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/2.247, allocations: 24.66 MB / 1.018 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009289/2.256, allocations: 8.862 MB / 1.026 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006366/2.263, allocations: 2.541 MB / 1.029 GB, free: 180 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/2.264, allocations: 455.4 kB / 1.029 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of SimCode: time 6.41e-07/2.264, allocations: 0 / 1.029 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1451/2.409, allocations: 97.33 MB / 1.124 GB, free: 86.63 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches