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.00147/0.00147, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.3 MB, free: 9.176 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 68.3 kB / 306.3 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09175, allocations: 50.53 MB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1832/0.275, allocations: 38.21 MB / 395 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.2962, allocations: 10.21 MB / 405.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008116/0.3044, allocations: 289 kB / 405.5 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02183/0.3263, allocations: 9.58 MB / 415.1 MB, free: 332 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.3392, allocations: 3.702 MB / 418.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006402/0.3456, allocations: 2.259 MB / 421.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01884/0.3645, allocations: 16.82 MB / 437.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04137/0.4059, allocations: 25.51 MB / 463.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.4162, allocations: 7.185 MB / 470.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01224/0.4285, allocations: 8.832 MB / 479.4 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004209/0.4327, allocations: 1.535 MB / 480.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006641/0.4394, allocations: 1.96 MB / 482.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.4444, allocations: 3.898 MB / 486.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.4573, allocations: 8.277 MB / 495.1 MB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02924/0.4866, allocations: 31.35 MB / 0.5141 GB, free: 2.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4866, allocations: 4 kB / 0.5141 GB, free: 2.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4867, allocations: 0 / 0.5141 GB, free: 2.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006323/0.4873, allocations: 0 / 0.5141 GB, free: 2.273 MB / 430.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.3533/0.8406, allocations: 18.78 MB / 0.5324 GB, free: 121.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8407, allocations: 9.859 kB / 0.5325 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05153/0.8922, allocations: 8.292 MB / 0.5405 GB, free: 121.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/0.916, allocations: 9.902 MB / 0.5502 GB, free: 115.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009428/0.9169, allocations: 1.061 MB / 0.5513 GB, free: 115.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004584/0.9215, allocations: 1.403 MB / 0.5526 GB, free: 115 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.963, allocations: 22.77 MB / 0.5749 GB, free: 97.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/0.9634, allocations: 23.75 kB / 0.5749 GB, free: 97.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/0.9657, allocations: 0.581 MB / 0.5754 GB, free: 96.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004842/0.9662, allocations: 0.7754 MB / 0.5762 GB, free: 95.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/1.001, allocations: 21.02 MB / 0.5967 GB, free: 74.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09528/1.096, allocations: 73.56 MB / 0.6686 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03527/1.132, allocations: 42.76 MB / 0.7103 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008958/1.141, allocations: 5.272 MB / 0.7155 GB, free: 11.02 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2033/1.344, allocations: 13.09 MB / 0.7282 GB, free: 168 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/1.344, allocations: 89.11 kB / 0.7283 GB, free: 168 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=504): time 7.625e-06/1.344, allocations: 0 / 0.7283 GB, free: 168 MB / 0.4982 GB Notification: Performance of matching and sorting (n=512): time 0.05488/1.399, allocations: 26.7 MB / 0.7544 GB, free: 159 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.399, allocations: 127.2 kB / 0.7545 GB, free: 158.9 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00741/1.406, allocations: 5.786 MB / 0.7602 GB, free: 156.8 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.407, allocations: 109.5 kB / 0.7603 GB, free: 156.7 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.411, allocations: 6.16 MB / 0.7663 GB, free: 152.1 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002045/1.413, allocations: 1.746 MB / 0.768 GB, free: 150.8 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002161/1.415, allocations: 1.471 MB / 0.7694 GB, free: 150 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/1.415, allocations: 301.1 kB / 0.7697 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.42, allocations: 3.665 MB / 0.7733 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/1.426, allocations: 6.513 MB / 0.7797 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/1.438, allocations: 10.85 MB / 0.7903 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.189e-05/1.438, allocations: 29.19 kB / 0.7903 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01913/1.457, allocations: 12.17 MB / 0.8022 GB, free: 124.2 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/1.457, allocations: 44 kB / 0.8022 GB, free: 124.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.457, allocations: 92 kB / 0.8023 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.461, allocations: 1.591 MB / 0.8039 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005692/1.467, allocations: 1.662 MB / 0.8055 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.485, allocations: 18.22 MB / 0.8233 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.492, allocations: 429.9 kB / 0.8237 GB, free: 101.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.493, allocations: 372 kB / 0.824 GB, free: 101.2 MB / 0.4982 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 (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%), (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.00857/1.502, allocations: 5.187 MB / 0.8291 GB, free: 95.99 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.503, allocations: 0.5981 MB / 0.8297 GB, free: 95.38 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.52, allocations: 9.454 MB / 0.8389 GB, free: 85.85 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008821/1.529, allocations: 5.951 MB / 0.8447 GB, free: 79.87 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/1.529, allocations: 20 kB / 0.8448 GB, free: 79.85 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.324e-05/1.529, allocations: 27.91 kB / 0.8448 GB, free: 79.82 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03658/1.565, allocations: 21.16 MB / 0.8654 GB, free: 58.56 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/1.565, allocations: 7.938 kB / 0.8655 GB, free: 58.55 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/1.569, allocations: 0.8727 MB / 0.8663 GB, free: 57.68 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004643/1.574, allocations: 1.633 MB / 0.8679 GB, free: 56.04 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008388/1.575, allocations: 128 kB / 0.868 GB, free: 55.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/1.595, allocations: 21.35 MB / 0.8889 GB, free: 33.67 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.596, allocations: 13.11 kB / 0.8889 GB, free: 33.66 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.615, allocations: 13.85 MB / 0.9024 GB, free: 19.46 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002959/1.618, allocations: 1.364 MB / 0.9037 GB, free: 18.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.619, allocations: 107.9 kB / 0.9038 GB, free: 17.96 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.623, allocations: 287.2 kB / 0.9041 GB, free: 17.68 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/1.624, allocations: 408.4 kB / 0.9045 GB, free: 17.28 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004014/1.624, allocations: 160 kB / 0.9047 GB, free: 17.12 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.2116/1.836, allocations: 3.901 MB / 0.9085 GB, free: 155 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.21e-07/1.836, allocations: 0 / 0.9085 GB, free: 155 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009246/1.845, allocations: 2.345 MB / 0.9108 GB, free: 155 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000963/1.846, allocations: 317.7 kB / 0.9111 GB, free: 154.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.862, allocations: 9.935 MB / 0.9208 GB, free: 152.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.862, allocations: 2.531 kB / 0.9208 GB, free: 152.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008081/1.87, allocations: 5.485 MB / 0.9261 GB, free: 150 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007142/1.878, allocations: 1.558 MB / 0.9276 GB, free: 149.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/1.917, allocations: 30.97 MB / 0.9579 GB, free: 132.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009684/1.927, allocations: 8.859 MB / 0.9665 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007023/1.934, allocations: 2.541 MB / 0.969 GB, free: 124.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.936, allocations: 461.9 kB / 0.9695 GB, free: 124.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.062e-06/1.936, allocations: 0 / 0.9695 GB, free: 124.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.1347/2.07, allocations: 99.15 MB / 1.066 GB, free: 28.76 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.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