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.001223/0.001223, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 62.64 kB / 306.5 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09482, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2015/0.2963, allocations: 38.21 MB / 395.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.3224, allocations: 10.16 MB / 405.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00938/0.3319, allocations: 289.6 kB / 405.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02422/0.3561, allocations: 9.593 MB / 415.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01803/0.3742, allocations: 3.656 MB / 418.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.384, allocations: 2.242 MB / 421.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02473/0.4088, allocations: 16.66 MB / 437.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05384/0.4626, allocations: 35.05 MB / 472.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.4757, allocations: 8.422 MB / 481.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.4913, allocations: 9.418 MB / 490.7 MB, free: 6.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006864/0.4982, allocations: 2.414 MB / 493.1 MB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009219/0.5075, allocations: 2.839 MB / 496 MB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00795/0.5154, allocations: 4.809 MB / 0.489 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01674/0.5322, allocations: 9.21 MB / 0.498 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0374/0.5696, allocations: 31.97 MB / 0.5292 GB, free: 2.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.5697, allocations: 0 / 0.5292 GB, free: 2.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5697, allocations: 0 / 0.5292 GB, free: 2.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009304/0.5707, allocations: 0 / 0.5292 GB, free: 2.938 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.3667/0.9373, allocations: 18.78 MB / 0.5476 GB, free: 126.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9374, allocations: 9.438 kB / 0.5476 GB, free: 126.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04423/0.9816, allocations: 8.289 MB / 0.5557 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.9986, allocations: 9.912 MB / 0.5654 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006976/0.9993, allocations: 1.063 MB / 0.5664 GB, free: 112.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003878/1.003, allocations: 1.397 MB / 0.5678 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04156/1.045, allocations: 22.76 MB / 0.59 GB, free: 88.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000464/1.045, allocations: 23.8 kB / 0.59 GB, free: 88.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00274/1.048, allocations: 0.5813 MB / 0.5906 GB, free: 87.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005133/1.049, allocations: 0.7755 MB / 0.5913 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/1.081, allocations: 21.03 MB / 0.6119 GB, free: 66.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.184, allocations: 73.56 MB / 0.6837 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2336/1.418, allocations: 42.75 MB / 0.7255 GB, free: 149.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009619/1.428, allocations: 5.268 MB / 0.7306 GB, free: 149.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02431/1.452, allocations: 13.1 MB / 0.7434 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.452, allocations: 85.38 kB / 0.7435 GB, free: 143.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.893e-06/1.452, allocations: 3.219 kB / 0.7435 GB, free: 143.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.05644/1.509, allocations: 26.69 MB / 0.7695 GB, free: 132.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.509, allocations: 137.5 kB / 0.7697 GB, free: 132 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007559/1.516, allocations: 5.792 MB / 0.7753 GB, free: 129.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008722/1.517, allocations: 109.7 kB / 0.7754 GB, free: 129.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.519, allocations: 6.15 MB / 0.7814 GB, free: 123.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.521, allocations: 1.755 MB / 0.7832 GB, free: 121.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/1.523, allocations: 1.465 MB / 0.7846 GB, free: 120.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/1.523, allocations: 301.1 kB / 0.7849 GB, free: 119.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/1.527, allocations: 3.673 MB / 0.7885 GB, free: 116.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/1.532, allocations: 6.521 MB / 0.7948 GB, free: 108.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.543, allocations: 10.84 MB / 0.8054 GB, free: 96.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.23e-05/1.543, allocations: 31.75 kB / 0.8054 GB, free: 96.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01836/1.561, allocations: 12.17 MB / 0.8173 GB, free: 83.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/1.561, allocations: 44 kB / 0.8174 GB, free: 83.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/1.562, allocations: 92 kB / 0.8175 GB, free: 83.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/1.565, allocations: 1.609 MB / 0.819 GB, free: 82.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/1.571, allocations: 1.661 MB / 0.8206 GB, free: 80.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/1.59, allocations: 19.64 MB / 0.8398 GB, free: 60.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/1.596, allocations: 439.4 kB / 0.8402 GB, free: 59.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008632/1.597, allocations: 368 kB / 0.8406 GB, free: 59.37 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 (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.007338/1.604, allocations: 5.187 MB / 0.8457 GB, free: 54.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.605, allocations: 0.6019 MB / 0.8463 GB, free: 53.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.618, allocations: 9.438 MB / 0.8555 GB, free: 44.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0076/1.626, allocations: 5.951 MB / 0.8613 GB, free: 38.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.626, allocations: 20.12 kB / 0.8613 GB, free: 38.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/1.626, allocations: 32 kB / 0.8613 GB, free: 38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.655, allocations: 21.16 MB / 0.882 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.655, allocations: 8.781 kB / 0.882 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/1.659, allocations: 0.8621 MB / 0.8828 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/1.663, allocations: 1.646 MB / 0.8845 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/1.663, allocations: 128 kB / 0.8846 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1994/1.863, allocations: 23.18 MB / 0.9072 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.863, allocations: 7.812 kB / 0.9072 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/1.883, allocations: 13.85 MB / 0.9207 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.886, allocations: 1.365 MB / 0.9221 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.887, allocations: 110.4 kB / 0.9222 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.89, allocations: 281.8 kB / 0.9225 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009738/1.891, allocations: 417.7 kB / 0.9229 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003236/1.891, allocations: 156.7 kB / 0.923 GB, free: 132.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005565/1.897, allocations: 3.901 MB / 0.9268 GB, free: 131 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.897, allocations: 0.75 kB / 0.9268 GB, free: 131 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007098/1.904, allocations: 2.349 MB / 0.9291 GB, free: 130.8 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 (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.0007649/1.905, allocations: 322.7 kB / 0.9294 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.03264/1.937, allocations: 16.12 MB / 0.9452 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.937, allocations: 0 / 0.9452 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009066/1.946, allocations: 5.484 MB / 0.9505 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008444/1.955, allocations: 1.639 MB / 0.9521 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/1.996, allocations: 30.98 MB / 0.9824 GB, free: 89.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.008, allocations: 8.866 MB / 0.991 GB, free: 82.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008592/2.016, allocations: 2.538 MB / 0.9935 GB, free: 79.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/2.018, allocations: 459.4 kB / 0.9939 GB, free: 79.54 MB / 494.1 MB Notification: Performance of SimCode: time 1.452e-06/2.018, allocations: 0 / 0.9939 GB, free: 79.54 MB / 494.1 MB Notification: Performance of Templates: time 0.328/2.346, allocations: 102.6 MB / 1.094 GB, free: 148.2 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