Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001818/0.001818, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 225 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 47.94 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08641, allocations: 46.63 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01262/0.09907, allocations: 11.74 MB / 339.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007674/0.1068, allocations: 3.979 MB / 343.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.1093, allocations: 55.75 kB / 343.7 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.1124, allocations: 0.8501 MB / 344.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.1165, allocations: 0.9822 MB / 345.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1185, allocations: 0.5266 MB / 346.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.1239, allocations: 3.448 MB / 349.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003933/0.1279, allocations: 2.673 MB / 352.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.1305, allocations: 1.526 MB / 353.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.134, allocations: 1.934 MB / 355.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008043/0.1348, allocations: 415.9 kB / 356.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1363, allocations: 0.6402 MB / 356.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1373, allocations: 1.138 MB / 357.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.1395, allocations: 1.847 MB / 359.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.1453, allocations: 5.304 MB / 365 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1453, allocations: 3.938 kB / 365 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1453, allocations: 0 / 365 MB, free: 15.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002068/0.1455, allocations: 0 / 365 MB, free: 15.19 MB / 318.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.009324/0.1549, allocations: 3.711 MB / 368.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1549, allocations: 8.031 kB / 368.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1563, allocations: 432.7 kB / 369.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.1595, allocations: 1.836 MB / 371 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.1597, allocations: 213.3 kB / 371.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.1601, allocations: 264 kB / 371.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005725/0.1658, allocations: 3.517 MB / 375 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/0.1659, allocations: 3.906 kB / 375 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.1661, allocations: 116 kB / 375.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.1663, allocations: 125.2 kB / 375.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.1712, allocations: 2.964 MB / 378.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1923/0.3636, allocations: 11.1 MB / 389.3 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.3663, allocations: 2.282 MB / 391.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.3681, allocations: 1.181 MB / 392.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.3684, allocations: 215.9 kB / 392.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3685, allocations: 49.38 kB / 393 MB, free: 43.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.749e-06/0.3685, allocations: 1.156 kB / 393 MB, free: 43.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01465/0.3832, allocations: 7.49 MB / 400.5 MB, free: 39.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3832, allocations: 64.53 kB / 400.5 MB, free: 39.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.3856, allocations: 1.978 MB / 402.5 MB, free: 38.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.3857, allocations: 51.73 kB / 402.6 MB, free: 38.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.3863, allocations: 1.305 MB / 403.9 MB, free: 37.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.3866, allocations: 0.5044 MB / 404.4 MB, free: 37.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.387, allocations: 331.5 kB / 404.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.3871, allocations: 301.1 kB / 405 MB, free: 36.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3883, allocations: 0.888 MB / 405.9 MB, free: 36.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3897, allocations: 1.374 MB / 407.3 MB, free: 34.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.3922, allocations: 2.381 MB / 409.6 MB, free: 32.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3922, allocations: 8 kB / 409.7 MB, free: 32.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00407/0.3963, allocations: 2.97 MB / 412.6 MB, free: 29.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3963, allocations: 12 kB / 412.6 MB, free: 29.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.3964, allocations: 12 kB / 412.6 MB, free: 29.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/0.3974, allocations: 474.4 kB / 413.1 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.3988, allocations: 431.3 kB / 413.5 MB, free: 28.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/0.4037, allocations: 6.105 MB / 419.6 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4054, allocations: 119.9 kB / 419.8 MB, free: 21.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4056, allocations: 75.98 kB / 419.8 MB, free: 21.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.001178/0.4068, allocations: 0.8602 MB / 420.7 MB, free: 21.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.4072, allocations: 217.4 kB / 420.9 MB, free: 20.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.4108, allocations: 2.575 MB / 423.5 MB, free: 18.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.4108, allocations: 27.09 kB / 423.5 MB, free: 18.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4108, allocations: 4 kB / 423.5 MB, free: 18.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4109, allocations: 12.06 kB / 423.5 MB, free: 18.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007546/0.4184, allocations: 5.636 MB / 429.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4185, allocations: 4 kB / 429.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.4196, allocations: 279.6 kB / 429.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.4207, allocations: 0.4903 MB / 429.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-05/0.4208, allocations: 39.97 kB / 430 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/0.4266, allocations: 7.679 MB / 437.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4266, allocations: 4 kB / 437.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.4319, allocations: 3.859 MB / 441.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.4331, allocations: 474.4 kB / 442 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/0.4334, allocations: 35.98 kB / 442 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.4346, allocations: 103.9 kB / 442.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.4349, allocations: 117 kB / 442.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.435, allocations: 47.98 kB / 442.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002035/0.4371, allocations: 1.36 MB / 443.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4371, allocations: 0 / 443.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002078/0.4392, allocations: 0.5869 MB / 444.2 MB, free: 12.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.0004869/0.4397, allocations: 226.3 kB / 444.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006301/0.446, allocations: 3.355 MB / 447.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.446, allocations: 0 / 447.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.4487, allocations: 1.619 MB / 449.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.4514, allocations: 494.8 kB / 449.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009435/0.4609, allocations: 5.717 MB / 455.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.4627, allocations: 2.104 MB / 457.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.4634, allocations: 151.4 kB / 457.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4634, allocations: 0 / 457.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Templates: time 0.08277/0.5462, allocations: 75.19 MB / 0.5206 GB, free: 3.66 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches