Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 110 kB / 17.06 MB, free: 6.02 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.000997/0.0009974, allocations: 191 kB / 18 MB, free: 5.109 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009454/0.0009454, allocations: 47.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2539, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01283/0.2667, allocations: 11.8 MB / 412.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.2746, allocations: 3.924 MB / 416.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2757, allocations: 63.75 kB / 416.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2776, allocations: 0.8696 MB / 417.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.2798, allocations: 1.021 MB / 418.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.2808, allocations: 0.5304 MB / 419 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.284, allocations: 3.436 MB / 422.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.2869, allocations: 2.716 MB / 425.1 MB, free: 340 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.2888, allocations: 1.538 MB / 426.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.291, allocations: 1.938 MB / 428.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.2915, allocations: 408 kB / 429 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009512/0.2924, allocations: 0.6478 MB / 429.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.2935, allocations: 1.138 MB / 430.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.2953, allocations: 1.847 MB / 432.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.3001, allocations: 5.375 MB / 438 MB, free: 3.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3001, allocations: 0 / 438 MB, free: 3.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3001, allocations: 0 / 438 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.3002, allocations: 0 / 438 MB, free: 3.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006922/0.3071, allocations: 3.711 MB / 441.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3072, allocations: 8.031 kB / 441.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3085, allocations: 440.7 kB / 442.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.3114, allocations: 1.957 MB / 444.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.3116, allocations: 205.4 kB / 444.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.3119, allocations: 267.9 kB / 444.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005427/0.3174, allocations: 3.521 MB / 448.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.3174, allocations: 15.86 kB / 448.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.3177, allocations: 116 kB / 448.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.3178, allocations: 117.3 kB / 448.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004902/0.3227, allocations: 2.972 MB / 451.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.3384, allocations: 10.96 MB / 462.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.3411, allocations: 2.269 MB / 464.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.3431, allocations: 1.18 MB / 465.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.3434, allocations: 207.5 kB / 465.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3434, allocations: 43.88 kB / 466 MB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.276e-06/0.3434, allocations: 0 / 466 MB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01615/0.3596, allocations: 7.517 MB / 473.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3597, allocations: 68.72 kB / 473.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.3628, allocations: 1.979 MB / 475.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.363, allocations: 49.7 kB / 475.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009679/0.364, allocations: 1.312 MB / 476.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.3645, allocations: 0.5006 MB / 477.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/0.3651, allocations: 331.2 kB / 477.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3652, allocations: 301.1 kB / 478 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3668, allocations: 0.8862 MB / 478.9 MB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3686, allocations: 1.375 MB / 480.3 MB, free: 7.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.3721, allocations: 2.381 MB / 482.6 MB, free: 5.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.3721, allocations: 4 kB / 482.6 MB, free: 5.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005132/0.3772, allocations: 2.982 MB / 485.6 MB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3773, allocations: 12 kB / 485.6 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.3773, allocations: 16 kB / 485.6 MB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3785, allocations: 470.6 kB / 486.1 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.3801, allocations: 427.3 kB / 486.5 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.3867, allocations: 6.103 MB / 492.6 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.3887, allocations: 123.8 kB / 492.7 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.3889, allocations: 75.98 kB / 492.8 MB, free: 10.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.3903, allocations: 0.85 MB / 493.7 MB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.3908, allocations: 213.4 kB / 493.9 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/0.3953, allocations: 2.587 MB / 496.5 MB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.3954, allocations: 20 kB / 496.5 MB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3954, allocations: 4 kB / 496.5 MB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.3954, allocations: 7.969 kB / 496.5 MB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/0.4048, allocations: 5.614 MB / 0.4903 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.4048, allocations: 4 kB / 0.4903 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.4061, allocations: 291.8 kB / 0.4906 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.4074, allocations: 498.1 kB / 0.4911 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.4076, allocations: 47.95 kB / 0.4911 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/0.4157, allocations: 7.678 MB / 0.4986 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4158, allocations: 4 kB / 0.4986 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006483/0.4222, allocations: 3.843 MB / 0.5024 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.4233, allocations: 478.4 kB / 0.5029 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/0.4238, allocations: 32 kB / 0.5029 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.4251, allocations: 107.9 kB / 0.503 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.4254, allocations: 113.1 kB / 0.5031 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4255, allocations: 47.92 kB / 0.5031 GB, free: 3.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.4278, allocations: 1.356 MB / 0.5045 GB, free: 2.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4278, allocations: 0 / 0.5045 GB, free: 2.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002246/0.43, allocations: 0.5898 MB / 0.505 GB, free: 1.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0005729/0.4306, allocations: 221.2 kB / 0.5053 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004587/0.4352, allocations: 2.612 MB / 0.5078 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4352, allocations: 0 / 0.5078 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.438, allocations: 1.607 MB / 0.5094 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.4406, allocations: 492.2 kB / 0.5098 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.4503, allocations: 5.605 MB / 0.5153 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.4526, allocations: 2.132 MB / 0.5174 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001527/0.4541, allocations: 473 kB / 0.5179 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.4547, allocations: 143.3 kB / 0.518 GB, free: 4.277 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4547, allocations: 0 / 0.518 GB, free: 4.277 MB / 446.1 MB Notification: Performance of Templates: time 0.2401/0.6948, allocations: 31.47 MB / 0.5487 GB, free: 123.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches