Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 113.3 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009651/0.0009651, allocations: 52.52 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.0843, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2228/0.3072, allocations: 38.27 MB / 389.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02768/0.3349, allocations: 10.03 MB / 399.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009701/0.3446, allocations: 289.4 kB / 400.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0298/0.3745, allocations: 10.18 MB / 410.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.3899, allocations: 4.027 MB / 414.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.3972, allocations: 2.376 MB / 416.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.4171, allocations: 16.37 MB / 433.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04354/0.4606, allocations: 31.2 MB / 464.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/0.4734, allocations: 8.466 MB / 472.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.4877, allocations: 9.332 MB / 482.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006313/0.494, allocations: 2.418 MB / 484.5 MB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00925/0.5033, allocations: 2.804 MB / 487.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006666/0.51, allocations: 4.809 MB / 492.1 MB, free: 8.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01538/0.5254, allocations: 9.199 MB / 0.4896 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3812/0.9066, allocations: 32.1 MB / 0.5209 GB, free: 65.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9067, allocations: 0 / 0.5209 GB, free: 65.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.9067, allocations: 1 kB / 0.5209 GB, free: 65.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008235/0.9075, allocations: 0 / 0.5209 GB, free: 65.82 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.06062/0.9682, allocations: 18.66 MB / 0.5391 GB, free: 61.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9682, allocations: 14.5 kB / 0.5391 GB, free: 61.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0446/1.013, allocations: 8.297 MB / 0.5472 GB, free: 60.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/1.036, allocations: 10.2 MB / 0.5572 GB, free: 58.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001448/1.038, allocations: 1.06 MB / 0.5582 GB, free: 57.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006526/1.044, allocations: 1.398 MB / 0.5596 GB, free: 56.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05222/1.097, allocations: 22.75 MB / 0.5818 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005375/1.097, allocations: 19.8 kB / 0.5818 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004286/1.102, allocations: 0.5745 MB / 0.5824 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005821/1.102, allocations: 0.7793 MB / 0.5832 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/1.139, allocations: 21.01 MB / 0.6037 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/1.261, allocations: 71.99 MB / 0.674 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03467/1.296, allocations: 42.4 MB / 0.7154 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2256/1.521, allocations: 5.197 MB / 0.7205 GB, free: 210.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02927/1.551, allocations: 12.68 MB / 0.7328 GB, free: 207.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/1.551, allocations: 89.83 kB / 0.7329 GB, free: 207.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 8.296e-06/1.551, allocations: 0 / 0.7329 GB, free: 207.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.05804/1.609, allocations: 26.29 MB / 0.7586 GB, free: 195.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.609, allocations: 128.4 kB / 0.7587 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008554/1.617, allocations: 5.751 MB / 0.7643 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.619, allocations: 108.1 kB / 0.7644 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003866/1.622, allocations: 6.153 MB / 0.7704 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002502/1.625, allocations: 1.738 MB / 0.7721 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002586/1.628, allocations: 1.455 MB / 0.7736 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/1.628, allocations: 311 kB / 0.7739 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/1.633, allocations: 3.625 MB / 0.7774 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007645/1.641, allocations: 6.481 MB / 0.7837 GB, free: 178 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.654, allocations: 10.77 MB / 0.7942 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/1.654, allocations: 28 kB / 0.7943 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02164/1.676, allocations: 12.08 MB / 0.8061 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/1.676, allocations: 44 kB / 0.8061 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.676, allocations: 92 kB / 0.8062 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/1.681, allocations: 1.591 MB / 0.8078 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00668/1.687, allocations: 1.665 MB / 0.8094 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.708, allocations: 19.62 MB / 0.8285 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008307/1.717, allocations: 419.4 kB / 0.8289 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/1.719, allocations: 368 kB / 0.8293 GB, free: 129.7 MB / 0.5294 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 (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.01083/1.73, allocations: 5.193 MB / 0.8344 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/1.732, allocations: 0.5981 MB / 0.8349 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.749, allocations: 9.359 MB / 0.8441 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008803/1.758, allocations: 5.87 MB / 0.8498 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.593e-05/1.758, allocations: 20 kB / 0.8498 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/1.758, allocations: 27.91 kB / 0.8499 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/1.806, allocations: 20.99 MB / 0.8704 GB, free: 87.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/1.806, allocations: 7.984 kB / 0.8704 GB, free: 87.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/1.81, allocations: 0.862 MB / 0.8712 GB, free: 86.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004525/1.814, allocations: 1.653 MB / 0.8728 GB, free: 84.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.815, allocations: 124 kB / 0.8729 GB, free: 84.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/1.837, allocations: 23.19 MB / 0.8956 GB, free: 60.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.837, allocations: 14.23 kB / 0.8956 GB, free: 60.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/1.858, allocations: 13.71 MB / 0.909 GB, free: 46.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/1.863, allocations: 1.356 MB / 0.9103 GB, free: 45.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002554/1.866, allocations: 104 kB / 0.9104 GB, free: 45.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00447/1.87, allocations: 291.7 kB / 0.9107 GB, free: 44.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/1.872, allocations: 408.4 kB / 0.9111 GB, free: 44.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005971/1.872, allocations: 156 kB / 0.9112 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00696/1.879, allocations: 3.879 MB / 0.915 GB, free: 40.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/1.879, allocations: 3.938 kB / 0.915 GB, free: 40.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01089/1.89, allocations: 2.34 MB / 0.9173 GB, free: 38.04 MB / 0.5294 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,13,100.0%), (1,5,100.0%), (1,8,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.001289/1.891, allocations: 323.4 kB / 0.9176 GB, free: 37.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0148/1.906, allocations: 9.883 MB / 0.9273 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.906, allocations: 0.9375 kB / 0.9273 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.198/2.104, allocations: 5.441 MB / 0.9326 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/2.115, allocations: 1.633 MB / 0.9342 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/2.171, allocations: 24.59 MB / 0.9582 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01689/2.188, allocations: 8.847 MB / 0.9668 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009309/2.197, allocations: 2.533 MB / 0.9693 GB, free: 183 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002333/2.199, allocations: 460.1 kB / 0.9697 GB, free: 183 MB / 0.5294 GB Notification: Performance of SimCode: time 1.522e-06/2.2, allocations: 0 / 0.9697 GB, free: 183 MB / 0.5294 GB Notification: Performance of Templates: time 0.1469/2.346, allocations: 94.12 MB / 1.062 GB, free: 101.6 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches