Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.4 MB / 251.1 MB, free: 8.492 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 53.32 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01476/0.3481, allocations: 9.469 MB / 431.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007846/0.3559, allocations: 3.061 MB / 434.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.3581, allocations: 47.81 kB / 434.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3603, allocations: 0.6639 MB / 435.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.3636, allocations: 0.8156 MB / 436.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3647, allocations: 367.4 kB / 436.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.3691, allocations: 2.669 MB / 439.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.3717, allocations: 1.534 MB / 440.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.3743, allocations: 1.207 MB / 442.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.3774, allocations: 1.533 MB / 443.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.378, allocations: 308 kB / 443.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.3791, allocations: 419.8 kB / 444.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.3801, allocations: 0.8921 MB / 445.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.3822, allocations: 1.412 MB / 446.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.3882, allocations: 4.118 MB / 450.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3882, allocations: 4 kB / 450.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3882, allocations: 0 / 450.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001191/0.3884, allocations: 0 / 450.8 MB, free: 11.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006753/0.3951, allocations: 2.929 MB / 453.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3952, allocations: 12.03 kB / 453.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.3962, allocations: 331.1 kB / 454 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.3994, allocations: 1.564 MB / 455.6 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.3996, allocations: 156.4 kB / 455.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.4, allocations: 207.9 kB / 456 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005385/0.4054, allocations: 2.732 MB / 458.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-05/0.4055, allocations: 11.95 kB / 458.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.4057, allocations: 80 kB / 458.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.4058, allocations: 95.92 kB / 458.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.4102, allocations: 2.326 MB / 461.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.4244, allocations: 8.336 MB / 469.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.4267, allocations: 1.709 MB / 471.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.4287, allocations: 1.019 MB / 472.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.429, allocations: 118.1 kB / 472.4 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.429, allocations: 47.56 kB / 472.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.487e-06/0.4291, allocations: 3.938 kB / 472.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01397/0.443, allocations: 6.242 MB / 478.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4431, allocations: 64.41 kB / 478.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.4456, allocations: 1.533 MB / 480.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4457, allocations: 45.7 kB / 480.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008989/0.4466, allocations: 1.017 MB / 481.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.447, allocations: 432.3 kB / 481.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/0.4474, allocations: 251.5 kB / 482 MB, free: 11.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4476, allocations: 361.9 kB / 482.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4489, allocations: 0.73 MB / 483.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4505, allocations: 1.059 MB / 484.1 MB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.4535, allocations: 1.875 MB / 486 MB, free: 6.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.4535, allocations: 4 kB / 486 MB, free: 6.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004418/0.4579, allocations: 2.346 MB / 488.4 MB, free: 4.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.4579, allocations: 12 kB / 488.4 MB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.458, allocations: 15.92 kB / 488.4 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.459, allocations: 415.4 kB / 488.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4603, allocations: 319.5 kB / 489.1 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.4664, allocations: 5.063 MB / 494.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4677, allocations: 103.8 kB / 494.3 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4678, allocations: 51.98 kB / 494.3 MB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.4693, allocations: 0.712 MB / 495 MB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.4697, allocations: 174.9 kB / 495.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4736, allocations: 2.133 MB / 497.3 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.4737, allocations: 12 kB / 497.4 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4737, allocations: 4 kB / 497.4 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4737, allocations: 11.97 kB / 497.4 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.4819, allocations: 4.554 MB / 0.4902 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4819, allocations: 0 / 0.4902 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/0.4829, allocations: 223.7 kB / 0.4904 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.4842, allocations: 471.1 kB / 0.4908 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.88e-05/0.4843, allocations: 31.98 kB / 0.4909 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00766/0.492, allocations: 6.692 MB / 0.4974 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.492, allocations: 7.969 kB / 0.4974 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.4976, allocations: 3.17 MB / 0.5005 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.4986, allocations: 407.9 kB / 0.5009 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.499, allocations: 28 kB / 0.5009 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.4999, allocations: 79.91 kB / 0.501 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.5002, allocations: 112.7 kB / 0.5011 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5003, allocations: 39.97 kB / 0.5011 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.5023, allocations: 1.048 MB / 0.5022 GB, free: 9.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5023, allocations: 4 kB / 0.5022 GB, free: 9.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001693/0.504, allocations: 463.9 kB / 0.5026 GB, free: 9.301 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004606/0.5045, allocations: 193.7 kB / 0.5028 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.5085, allocations: 2.196 MB / 0.5049 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5085, allocations: 0 / 0.5049 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.5109, allocations: 1.449 MB / 0.5063 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.513, allocations: 446.7 kB / 0.5068 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.5218, allocations: 4.564 MB / 0.5112 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.5237, allocations: 1.826 MB / 0.513 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.525, allocations: 393.6 kB / 0.5134 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.5253, allocations: 111.4 kB / 0.5135 GB, free: 13.92 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5253, allocations: 4 kB / 0.5135 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Templates: time 0.05412/0.5795, allocations: 26.58 MB / 0.5395 GB, free: 3.59 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches