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.001245/0.001245, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001302, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 55.44 kB / 307 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09781, allocations: 50.54 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1949/0.2927, allocations: 38.91 MB / 396.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02515/0.3179, allocations: 10.32 MB / 406.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009339/0.3273, allocations: 292.7 kB / 407.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0259/0.3533, allocations: 10.2 MB / 417.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.3694, allocations: 4.04 MB / 421.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008114/0.3775, allocations: 2.423 MB / 423.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.4005, allocations: 16.41 MB / 440.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05274/0.4533, allocations: 31.41 MB / 471.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01431/0.4677, allocations: 8.458 MB / 480 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01697/0.4847, allocations: 9.523 MB / 489.5 MB, free: 7.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006667/0.4914, allocations: 2.418 MB / 492 MB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.5015, allocations: 2.843 MB / 494.8 MB, free: 2.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008399/0.5099, allocations: 4.809 MB / 499.6 MB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0193/0.5292, allocations: 9.222 MB / 0.4969 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04121/0.5705, allocations: 31.98 MB / 0.5281 GB, free: 4.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5705, allocations: 0 / 0.5281 GB, free: 4.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5705, allocations: 0 / 0.5281 GB, free: 4.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008368/0.5714, allocations: 0 / 0.5281 GB, free: 4.168 MB / 446.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.3877/0.9591, allocations: 18.78 MB / 0.5465 GB, free: 125.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9592, allocations: 9.688 kB / 0.5465 GB, free: 125.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04765/1.007, allocations: 8.152 MB / 0.5544 GB, free: 121.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.03, allocations: 9.974 MB / 0.5642 GB, free: 113.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/1.031, allocations: 1.063 MB / 0.5652 GB, free: 112.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005847/1.037, allocations: 1.405 MB / 0.5666 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/1.091, allocations: 22.79 MB / 0.5889 GB, free: 88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009692/1.092, allocations: 15.84 kB / 0.5889 GB, free: 87.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005842/1.098, allocations: 0.5852 MB / 0.5894 GB, free: 87.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006823/1.098, allocations: 0.7716 MB / 0.5902 GB, free: 86.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03886/1.137, allocations: 21.05 MB / 0.6107 GB, free: 65.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.248, allocations: 73.61 MB / 0.6826 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2187/1.467, allocations: 42.73 MB / 0.7244 GB, free: 148.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008756/1.475, allocations: 5.238 MB / 0.7295 GB, free: 148.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/1.499, allocations: 13.07 MB / 0.7422 GB, free: 142.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.499, allocations: 88.3 kB / 0.7423 GB, free: 142.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=498): time 6.252e-06/1.499, allocations: 0 / 0.7423 GB, free: 142.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=506): time 0.05295/1.552, allocations: 26.36 MB / 0.7681 GB, free: 131 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.552, allocations: 134.8 kB / 0.7682 GB, free: 130.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006954/1.559, allocations: 5.783 MB / 0.7738 GB, free: 128.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008757/1.56, allocations: 113.7 kB / 0.774 GB, free: 128.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/1.562, allocations: 6.163 MB / 0.78 GB, free: 122.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.563, allocations: 1.731 MB / 0.7817 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/1.565, allocations: 1.473 MB / 0.7831 GB, free: 119.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/1.565, allocations: 305.1 kB / 0.7834 GB, free: 119.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.569, allocations: 3.637 MB / 0.7869 GB, free: 115.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/1.574, allocations: 6.482 MB / 0.7933 GB, free: 107.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.584, allocations: 10.79 MB / 0.8038 GB, free: 95.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.465e-05/1.585, allocations: 24 kB / 0.8038 GB, free: 95.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01652/1.601, allocations: 12.13 MB / 0.8157 GB, free: 83.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/1.601, allocations: 44.56 kB / 0.8157 GB, free: 83.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/1.601, allocations: 92 kB / 0.8158 GB, free: 83.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/1.605, allocations: 1.601 MB / 0.8174 GB, free: 81.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/1.611, allocations: 1.673 MB / 0.819 GB, free: 79.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/1.63, allocations: 19.63 MB / 0.8382 GB, free: 59.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/1.636, allocations: 427.3 kB / 0.8386 GB, free: 59.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.637, allocations: 375.9 kB / 0.8389 GB, free: 58.88 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[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.006611/1.643, allocations: 5.191 MB / 0.844 GB, free: 53.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.645, allocations: 0.6059 MB / 0.8446 GB, free: 53.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.658, allocations: 9.365 MB / 0.8537 GB, free: 43.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007606/1.666, allocations: 5.907 MB / 0.8595 GB, free: 37.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/1.666, allocations: 16 kB / 0.8595 GB, free: 37.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.458e-05/1.666, allocations: 23.91 kB / 0.8596 GB, free: 37.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/1.697, allocations: 21.09 MB / 0.8801 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.697, allocations: 11.98 kB / 0.8802 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/1.7, allocations: 0.8784 MB / 0.881 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004011/1.704, allocations: 1.645 MB / 0.8826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004801/1.705, allocations: 136 kB / 0.8828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1884/1.893, allocations: 23.2 MB / 0.9054 GB, free: 153.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.893, allocations: 7.875 kB / 0.9054 GB, free: 153.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02199/1.915, allocations: 13.76 MB / 0.9189 GB, free: 150 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003121/1.918, allocations: 1.364 MB / 0.9202 GB, free: 149.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.919, allocations: 108.5 kB / 0.9203 GB, free: 149.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.922, allocations: 277.3 kB / 0.9206 GB, free: 149.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008928/1.923, allocations: 412.8 kB / 0.9209 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/1.923, allocations: 162.8 kB / 0.9211 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004875/1.928, allocations: 3.905 MB / 0.9249 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.7e-07/1.928, allocations: 0 / 0.9249 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007512/1.936, allocations: 2.341 MB / 0.9272 GB, free: 147.6 MB / 0.4982 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.0008337/1.937, allocations: 328.2 kB / 0.9275 GB, free: 147.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.03104/1.968, allocations: 15.88 MB / 0.943 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.968, allocations: 4 kB / 0.943 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008763/1.977, allocations: 5.453 MB / 0.9484 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/1.987, allocations: 1.648 MB / 0.95 GB, free: 136.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/2.027, allocations: 24.83 MB / 0.9742 GB, free: 113.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/2.037, allocations: 8.854 MB / 0.9829 GB, free: 106.8 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007572/2.045, allocations: 2.536 MB / 0.9853 GB, free: 104.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/2.046, allocations: 479.3 kB / 0.9858 GB, free: 104.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.262e-06/2.046, allocations: 0 / 0.9858 GB, free: 104.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.34/2.386, allocations: 100.8 MB / 1.084 GB, free: 151.6 MB / 0.4982 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.1.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