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.0008134/0.0008134, allocations: 99.12 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009475/0.0009475, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001857/0.0001857, allocations: 8 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08161, allocations: 51.52 MB / 358.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1831/0.2648, allocations: 34.02 MB / 392.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.2842, allocations: 9.543 MB / 402.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005521/0.2898, allocations: 270.3 kB / 402.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005442/0.2953, allocations: 1.893 MB / 404.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.3059, allocations: 3.349 MB / 407.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.3109, allocations: 1.61 MB / 409.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02285/0.3337, allocations: 18.97 MB / 428.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04526/0.379, allocations: 24.64 MB / 453 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.3909, allocations: 6.093 MB / 459.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.4035, allocations: 6.907 MB / 466 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00354/0.4071, allocations: 0.9336 MB / 466.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006275/0.4134, allocations: 1.324 MB / 468.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004741/0.4182, allocations: 2.986 MB / 471.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005888/0.4241, allocations: 3.084 MB / 474.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02809/0.4522, allocations: 27.08 MB / 0.4896 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.4522, allocations: 4 kB / 0.4896 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4522, allocations: 0 / 0.4896 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007343/0.453, allocations: 0 / 0.4896 GB, free: 13.16 MB / 414.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.04198/0.495, allocations: 15.79 MB / 0.505 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.495, allocations: 11.97 kB / 0.5051 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04415/0.5392, allocations: 8.328 MB / 0.5132 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/0.5599, allocations: 9.797 MB / 0.5228 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/0.5611, allocations: 1.06 MB / 0.5238 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005071/0.5661, allocations: 1.402 MB / 0.5252 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3815/0.9476, allocations: 22.66 MB / 0.5473 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004517/0.9481, allocations: 25.88 kB / 0.5473 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/0.9509, allocations: 0.5758 MB / 0.5479 GB, free: 109.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007568/0.9517, allocations: 0.7756 MB / 0.5486 GB, free: 109.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/0.9891, allocations: 20.93 MB / 0.5691 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0953/1.084, allocations: 73.73 MB / 0.6411 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02687/1.111, allocations: 42.7 MB / 0.6828 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008951/1.12, allocations: 5.279 MB / 0.6879 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/1.142, allocations: 13.11 MB / 0.7007 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.972e-05/1.142, allocations: 102.7 kB / 0.7008 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.152e-06/1.142, allocations: 4 kB / 0.7008 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.2521/1.394, allocations: 28.94 MB / 0.7291 GB, free: 145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.394, allocations: 129.5 kB / 0.7292 GB, free: 144.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009787/1.404, allocations: 5.744 MB / 0.7348 GB, free: 142.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009166/1.405, allocations: 107.6 kB / 0.7349 GB, free: 142.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004004/1.409, allocations: 6.16 MB / 0.741 GB, free: 138.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001867/1.411, allocations: 1.755 MB / 0.7427 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/1.411, allocations: 147.1 kB / 0.7428 GB, free: 136.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003274/1.412, allocations: 0.6072 MB / 0.7434 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004894/1.417, allocations: 3.654 MB / 0.747 GB, free: 134.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005812/1.422, allocations: 6.493 MB / 0.7533 GB, free: 129.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006399/1.429, allocations: 5.047 MB / 0.7582 GB, free: 127.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/1.429, allocations: 23.75 kB / 0.7583 GB, free: 127.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01774/1.447, allocations: 12.13 MB / 0.7701 GB, free: 122.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/1.447, allocations: 42.88 kB / 0.7701 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.447, allocations: 93.22 kB / 0.7702 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/1.451, allocations: 1.604 MB / 0.7718 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/1.456, allocations: 1.66 MB / 0.7734 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/1.474, allocations: 18.21 MB / 0.7912 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/1.479, allocations: 439.6 kB / 0.7916 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.48, allocations: 370.9 kB / 0.792 GB, free: 105.6 MB / 494.1 MB 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[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0076/1.488, allocations: 5.184 MB / 0.797 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.489, allocations: 0.5981 MB / 0.7976 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.503, allocations: 9.457 MB / 0.8069 GB, free: 91.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007698/1.511, allocations: 5.928 MB / 0.8126 GB, free: 85.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.564e-05/1.511, allocations: 20.12 kB / 0.8127 GB, free: 85.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/1.511, allocations: 23.91 kB / 0.8127 GB, free: 85.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/1.542, allocations: 21.14 MB / 0.8333 GB, free: 64.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/1.542, allocations: 4 kB / 0.8333 GB, free: 64.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003304/1.546, allocations: 0.8641 MB / 0.8342 GB, free: 63.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.549, allocations: 1.637 MB / 0.8358 GB, free: 61.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.55, allocations: 127.9 kB / 0.8359 GB, free: 61.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/1.569, allocations: 21.32 MB / 0.8567 GB, free: 39.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.569, allocations: 11.94 kB / 0.8567 GB, free: 39.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.588, allocations: 13.83 MB / 0.8702 GB, free: 25.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/1.591, allocations: 1.372 MB / 0.8716 GB, free: 23.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.592, allocations: 108.2 kB / 0.8717 GB, free: 23.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.595, allocations: 291.7 kB / 0.872 GB, free: 23.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007781/1.596, allocations: 424.3 kB / 0.8724 GB, free: 22.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/1.596, allocations: 152 kB / 0.8725 GB, free: 22.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005507/1.602, allocations: 3.857 MB / 0.8763 GB, free: 18.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.602, allocations: 0 / 0.8763 GB, free: 18.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01003/1.612, allocations: 2.342 MB / 0.8786 GB, free: 16.54 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/1.613, allocations: 320.4 kB / 0.8789 GB, free: 16.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01467/1.628, allocations: 9.904 MB / 0.8886 GB, free: 6.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.628, allocations: 384 / 0.8886 GB, free: 6.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2018/1.83, allocations: 5.478 MB / 0.8939 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009511/1.839, allocations: 1.589 MB / 0.8955 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05026/1.89, allocations: 29.77 MB / 0.9245 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/1.901, allocations: 8.865 MB / 0.9332 GB, free: 133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007754/1.908, allocations: 2.541 MB / 0.9357 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.91, allocations: 455.5 kB / 0.9361 GB, free: 132.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/1.91, allocations: 0 / 0.9361 GB, free: 132.7 MB / 494.1 MB Notification: Performance of Templates: time 0.1455/2.055, allocations: 95.57 MB / 1.029 GB, free: 42.85 MB / 494.1 MB 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