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.001167/0.001167, allocations: 105.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.95 kB / 306.3 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08693, allocations: 50.54 MB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1854/0.2723, allocations: 38.22 MB / 395 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.2982, allocations: 10.2 MB / 405.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00921/0.3075, allocations: 285.5 kB / 405.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02191/0.3295, allocations: 9.592 MB / 415.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01516/0.3446, allocations: 3.697 MB / 418.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0091/0.3537, allocations: 2.244 MB / 421.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02131/0.3751, allocations: 16.82 MB / 437.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04809/0.4232, allocations: 25.52 MB / 463.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.4359, allocations: 7.177 MB / 470.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/0.4503, allocations: 8.836 MB / 479.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005991/0.4563, allocations: 1.535 MB / 480.9 MB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009985/0.4663, allocations: 1.953 MB / 482.9 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007457/0.4738, allocations: 3.894 MB / 486.8 MB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01925/0.4931, allocations: 8.277 MB / 495.1 MB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03937/0.5325, allocations: 31.36 MB / 0.5141 GB, free: 2.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5325, allocations: 0 / 0.5141 GB, free: 2.406 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5326, allocations: 4 kB / 0.5141 GB, free: 2.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009251/0.5335, allocations: 0 / 0.5141 GB, free: 2.402 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.3942/0.9277, allocations: 18.79 MB / 0.5324 GB, free: 121.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9277, allocations: 10.33 kB / 0.5325 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0471/0.9748, allocations: 8.287 MB / 0.5405 GB, free: 121.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02153/0.9964, allocations: 9.901 MB / 0.5502 GB, free: 116.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/0.9978, allocations: 1.063 MB / 0.5513 GB, free: 115.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005447/1.003, allocations: 1.398 MB / 0.5526 GB, free: 115.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04743/1.051, allocations: 22.77 MB / 0.5749 GB, free: 97.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004076/1.051, allocations: 23.75 kB / 0.5749 GB, free: 97.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003219/1.054, allocations: 0.5776 MB / 0.5754 GB, free: 96.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004984/1.055, allocations: 0.7777 MB / 0.5762 GB, free: 95.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03735/1.092, allocations: 21.02 MB / 0.5967 GB, free: 74.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09347/1.186, allocations: 73.56 MB / 0.6686 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03579/1.222, allocations: 42.76 MB / 0.7103 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009602/1.231, allocations: 5.268 MB / 0.7155 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.221/1.452, allocations: 13.1 MB / 0.7283 GB, free: 168.4 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/1.452, allocations: 89.27 kB / 0.7283 GB, free: 168.4 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=504): time 1.436e-05/1.453, allocations: 2.688 kB / 0.7283 GB, free: 168.4 MB / 0.4982 GB Notification: Performance of matching and sorting (n=512): time 0.06409/1.517, allocations: 26.69 MB / 0.7544 GB, free: 159.3 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.517, allocations: 131.9 kB / 0.7545 GB, free: 159.2 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009179/1.526, allocations: 5.789 MB / 0.7602 GB, free: 157.1 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009026/1.527, allocations: 109.4 kB / 0.7603 GB, free: 157 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002893/1.53, allocations: 6.157 MB / 0.7663 GB, free: 152.4 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.532, allocations: 1.747 MB / 0.768 GB, free: 151 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0037/1.535, allocations: 1.468 MB / 0.7694 GB, free: 150.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/1.535, allocations: 301.1 kB / 0.7697 GB, free: 150 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/1.541, allocations: 3.675 MB / 0.7733 GB, free: 148.6 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006483/1.547, allocations: 6.511 MB / 0.7797 GB, free: 143.6 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.56, allocations: 10.84 MB / 0.7903 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.802e-05/1.56, allocations: 24 kB / 0.7903 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02002/1.58, allocations: 12.18 MB / 0.8022 GB, free: 124.3 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/1.58, allocations: 44 kB / 0.8022 GB, free: 124.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.58, allocations: 92 kB / 0.8023 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/1.584, allocations: 1.59 MB / 0.8039 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/1.59, allocations: 1.662 MB / 0.8055 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.609, allocations: 18.23 MB / 0.8233 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/1.615, allocations: 429.7 kB / 0.8237 GB, free: 101.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.616, allocations: 368 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.008945/1.625, allocations: 5.194 MB / 0.8291 GB, free: 96.04 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/1.627, allocations: 0.6003 MB / 0.8297 GB, free: 95.43 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.645, allocations: 9.442 MB / 0.8389 GB, free: 85.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008902/1.654, allocations: 5.958 MB / 0.8447 GB, free: 79.92 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.994e-05/1.654, allocations: 16 kB / 0.8448 GB, free: 79.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-05/1.654, allocations: 27.89 kB / 0.8448 GB, free: 79.88 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03497/1.689, allocations: 21.16 MB / 0.8655 GB, free: 58.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.689, allocations: 12.06 kB / 0.8655 GB, free: 58.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/1.692, allocations: 0.8659 MB / 0.8663 GB, free: 57.73 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/1.697, allocations: 1.636 MB / 0.8679 GB, free: 56.09 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007662/1.698, allocations: 124 kB / 0.868 GB, free: 55.96 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.718, allocations: 21.35 MB / 0.8889 GB, free: 33.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.718, allocations: 11.94 kB / 0.8889 GB, free: 33.71 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/1.738, allocations: 13.85 MB / 0.9024 GB, free: 19.51 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003103/1.742, allocations: 1.364 MB / 0.9037 GB, free: 18.12 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.743, allocations: 107.9 kB / 0.9038 GB, free: 18.02 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/1.747, allocations: 287.7 kB / 0.9041 GB, free: 17.73 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.748, allocations: 412.4 kB / 0.9045 GB, free: 17.32 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004292/1.748, allocations: 156 kB / 0.9047 GB, free: 17.17 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.1907/1.939, allocations: 3.898 MB / 0.9085 GB, free: 155.3 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.02e-07/1.939, allocations: 0 / 0.9085 GB, free: 155.3 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009686/1.949, allocations: 2.346 MB / 0.9108 GB, free: 155.3 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.0008319/1.949, allocations: 320.8 kB / 0.9111 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.964, allocations: 9.937 MB / 0.9208 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.964, allocations: 2.062 kB / 0.9208 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007599/1.972, allocations: 5.482 MB / 0.9261 GB, free: 150.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/1.979, allocations: 1.555 MB / 0.9276 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/2.017, allocations: 30.98 MB / 0.9579 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008696/2.026, allocations: 8.856 MB / 0.9665 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007492/2.033, allocations: 2.542 MB / 0.969 GB, free: 124.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/2.035, allocations: 457.8 kB / 0.9695 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of SimCode: time 9.12e-07/2.035, allocations: 0 / 0.9695 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of Templates: time 0.1418/2.177, allocations: 99.16 MB / 1.066 GB, free: 28.84 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