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.001603/0.001604, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001839/0.001839, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.557/1.557, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 46.67 kB / 301.3 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 49.44 MB / 350.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2678/0.3881, allocations: 38.28 MB / 389 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02769/0.4158, allocations: 10.03 MB / 399.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01362/0.4295, allocations: 295.5 kB / 399.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02663/0.4561, allocations: 10.17 MB / 409.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.475, allocations: 4.031 MB / 413.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009983/0.485, allocations: 2.376 MB / 415.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02581/0.5108, allocations: 16.26 MB / 432.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06001/0.5709, allocations: 31.39 MB / 463.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.588, allocations: 8.447 MB / 472 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01748/0.6055, allocations: 9.355 MB / 481.4 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007864/0.6134, allocations: 2.414 MB / 483.8 MB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.6241, allocations: 2.828 MB / 486.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008467/0.6326, allocations: 4.805 MB / 491.4 MB, free: 8.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02092/0.6535, allocations: 9.203 MB / 0.4889 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5301/1.184, allocations: 31.93 MB / 0.5201 GB, free: 65.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/1.184, allocations: 0.5625 kB / 0.5201 GB, free: 65.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/1.184, allocations: 0.5938 kB / 0.5201 GB, free: 65.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001014/1.185, allocations: 2.719 kB / 0.5201 GB, free: 65.86 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.06992/1.255, allocations: 18.72 MB / 0.5384 GB, free: 61.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.255, allocations: 9.125 kB / 0.5384 GB, free: 61.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04659/1.301, allocations: 8.261 MB / 0.5464 GB, free: 60.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/1.324, allocations: 9.914 MB / 0.5561 GB, free: 58.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/1.325, allocations: 1.064 MB / 0.5572 GB, free: 57.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00746/1.332, allocations: 1.4 MB / 0.5585 GB, free: 57.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06086/1.393, allocations: 22.75 MB / 0.5807 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008654/1.394, allocations: 23.66 kB / 0.5808 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005894/1.4, allocations: 0.5818 MB / 0.5813 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007419/1.401, allocations: 0.7755 MB / 0.5821 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04705/1.448, allocations: 20.99 MB / 0.6026 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1462/1.594, allocations: 72.91 MB / 0.6738 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04055/1.635, allocations: 42.4 MB / 0.7152 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2901/1.925, allocations: 5.207 MB / 0.7203 GB, free: 209.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03285/1.958, allocations: 12.73 MB / 0.7327 GB, free: 206.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/1.958, allocations: 85.23 kB / 0.7328 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 7.594e-06/1.958, allocations: 0 / 0.7328 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.05501/2.013, allocations: 26.29 MB / 0.7585 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/2.013, allocations: 127.9 kB / 0.7586 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007748/2.021, allocations: 5.755 MB / 0.7642 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009472/2.022, allocations: 108.7 kB / 0.7643 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/2.025, allocations: 6.148 MB / 0.7703 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/2.027, allocations: 1.734 MB / 0.772 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/2.029, allocations: 1.462 MB / 0.7734 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/2.029, allocations: 305.1 kB / 0.7737 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004583/2.034, allocations: 3.635 MB / 0.7773 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/2.04, allocations: 6.471 MB / 0.7836 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.052, allocations: 10.76 MB / 0.7941 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-05/2.052, allocations: 28 kB / 0.7941 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01883/2.071, allocations: 12.08 MB / 0.8059 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/2.071, allocations: 55.14 kB / 0.806 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/2.071, allocations: 99.94 kB / 0.8061 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00426/2.075, allocations: 1.597 MB / 0.8076 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006223/2.081, allocations: 1.669 MB / 0.8093 GB, free: 150 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/2.102, allocations: 19.63 MB / 0.8284 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/2.109, allocations: 427.4 kB / 0.8288 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/2.11, allocations: 368 kB / 0.8292 GB, free: 129 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.008942/2.119, allocations: 5.19 MB / 0.8343 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/2.121, allocations: 0.602 MB / 0.8348 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/2.135, allocations: 9.358 MB / 0.844 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008184/2.143, allocations: 5.876 MB / 0.8497 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.066e-05/2.143, allocations: 16 kB / 0.8497 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/2.143, allocations: 27.89 kB / 0.8498 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03492/2.178, allocations: 21.02 MB / 0.8703 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/2.178, allocations: 8 kB / 0.8703 GB, free: 86.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/2.182, allocations: 0.8581 MB / 0.8711 GB, free: 85.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004269/2.186, allocations: 1.659 MB / 0.8728 GB, free: 84.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005831/2.187, allocations: 127.9 kB / 0.8729 GB, free: 83.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/2.207, allocations: 23.22 MB / 0.8956 GB, free: 59.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/2.208, allocations: 7.938 kB / 0.8956 GB, free: 59.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/2.226, allocations: 13.7 MB / 0.9089 GB, free: 45.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003461/2.229, allocations: 1.356 MB / 0.9103 GB, free: 44.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/2.231, allocations: 104 kB / 0.9104 GB, free: 44.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003287/2.234, allocations: 287.7 kB / 0.9106 GB, free: 44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008514/2.235, allocations: 416.3 kB / 0.911 GB, free: 43.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/2.235, allocations: 152 kB / 0.9112 GB, free: 43.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004967/2.24, allocations: 3.883 MB / 0.915 GB, free: 39.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/2.24, allocations: 0 / 0.915 GB, free: 39.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008691/2.249, allocations: 2.336 MB / 0.9173 GB, free: 37.25 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.001048/2.25, allocations: 322.6 kB / 0.9176 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2395/2.49, allocations: 15.86 MB / 0.9331 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/2.49, allocations: 2.062 kB / 0.9331 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/2.501, allocations: 5.435 MB / 0.9384 GB, free: 200.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009967/2.511, allocations: 1.634 MB / 0.94 GB, free: 200.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04874/2.559, allocations: 24.5 MB / 0.9639 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/2.571, allocations: 8.564 MB / 0.9722 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/2.574, allocations: 0.5066 MB / 0.9727 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/2.574, allocations: 0 / 0.9727 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of Templates: time 1.486/4.06, allocations: 0.6673 GB / 1.64 GB, free: 67.06 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 -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