Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 208 kB / 19.41 MB, free: 3.648 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.409/1.409, allocations: 227.7 MB / 247.9 MB, free: 10.19 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.001895/0.001895, allocations: 67.89 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2273, allocations: 50.54 MB / 410.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01405/0.2413, allocations: 11.87 MB / 422.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.2492, allocations: 3.99 MB / 426.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2512, allocations: 63.75 kB / 426.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.2538, allocations: 0.8968 MB / 427 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.2571, allocations: 1.021 MB / 428.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2585, allocations: 0.5339 MB / 428.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.2631, allocations: 3.467 MB / 432.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.2658, allocations: 1.967 MB / 434 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.2682, allocations: 1.553 MB / 435.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.2712, allocations: 1.934 MB / 437.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007187/0.272, allocations: 408 kB / 437.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.2733, allocations: 0.6363 MB / 438.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.2745, allocations: 1.157 MB / 439.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.2769, allocations: 1.843 MB / 441.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006391/0.2833, allocations: 5.403 MB / 447 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2833, allocations: 4 kB / 447 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2833, allocations: 0 / 447 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.2834, allocations: 0 / 447 MB, free: 12.66 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.00783/0.2912, allocations: 3.817 MB / 450.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2913, allocations: 8.031 kB / 450.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.293, allocations: 490.5 kB / 451.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.2966, allocations: 1.994 MB / 453.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.2968, allocations: 205.4 kB / 453.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004532/0.2972, allocations: 271.9 kB / 453.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006387/0.3036, allocations: 3.521 MB / 457.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.387e-05/0.3037, allocations: 0 / 457.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.304, allocations: 112 kB / 457.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.3041, allocations: 125.2 kB / 457.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005663/0.3098, allocations: 2.968 MB / 460.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.3284, allocations: 11 MB / 471.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.3314, allocations: 2.179 MB / 473.6 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.3335, allocations: 1.102 MB / 474.7 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.3338, allocations: 215.4 kB / 474.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3338, allocations: 43.88 kB / 475 MB, free: 15.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.116e-06/0.3338, allocations: 0 / 475 MB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01698/0.3508, allocations: 7.549 MB / 482.5 MB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3509, allocations: 68.72 kB / 482.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.3539, allocations: 1.984 MB / 484.6 MB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.354, allocations: 53.64 kB / 484.6 MB, free: 6.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.3552, allocations: 1.358 MB / 486 MB, free: 4.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.3557, allocations: 0.5307 MB / 486.5 MB, free: 4.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/0.3562, allocations: 323.5 kB / 486.8 MB, free: 3.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3563, allocations: 301.1 kB / 487.1 MB, free: 3.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.3579, allocations: 0.8862 MB / 488 MB, free: 2.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.3599, allocations: 1.368 MB / 489.4 MB, free: 1.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.3635, allocations: 2.385 MB / 491.8 MB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.3635, allocations: 7.938 kB / 491.8 MB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005443/0.3689, allocations: 2.983 MB / 494.8 MB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.369, allocations: 12 kB / 494.8 MB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.369, allocations: 19.94 kB / 494.8 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.3702, allocations: 466.5 kB / 495.2 MB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.3718, allocations: 431.3 kB / 495.7 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/0.379, allocations: 6.098 MB / 0.49 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.3807, allocations: 123.8 kB / 0.4901 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.3809, allocations: 76 kB / 0.4902 GB, free: 3.934 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.001483/0.3823, allocations: 0.8563 MB / 0.491 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.3828, allocations: 230.5 kB / 0.4912 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004746/0.3875, allocations: 2.583 MB / 0.4938 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.3876, allocations: 20 kB / 0.4938 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.3876, allocations: 7.984 kB / 0.4938 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3876, allocations: 3.984 kB / 0.4938 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.3977, allocations: 5.603 MB / 0.4993 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3977, allocations: 4 kB / 0.4993 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.3989, allocations: 284 kB / 0.4995 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.4003, allocations: 0.4895 MB / 0.5 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.4005, allocations: 43.97 kB / 0.5001 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008757/0.4092, allocations: 7.679 MB / 0.5076 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4092, allocations: 7.938 kB / 0.5076 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.416, allocations: 3.848 MB / 0.5113 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.4173, allocations: 487.5 kB / 0.5118 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/0.4176, allocations: 32 kB / 0.5118 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.4189, allocations: 103.9 kB / 0.5119 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.4193, allocations: 117 kB / 0.512 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.4194, allocations: 47.98 kB / 0.5121 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002427/0.4218, allocations: 1.364 MB / 0.5134 GB, free: 11.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4218, allocations: 4 kB / 0.5134 GB, free: 11.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001982/0.4238, allocations: 0.5859 MB / 0.514 GB, free: 10.81 MB / 446.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.0004686/0.4242, allocations: 215.3 kB / 0.5142 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004633/0.4289, allocations: 2.525 MB / 0.5167 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.4289, allocations: 0 / 0.5167 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.4317, allocations: 1.537 MB / 0.5182 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.4341, allocations: 0.4909 MB / 0.5186 GB, free: 5.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/0.444, allocations: 5.696 MB / 0.5242 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.446, allocations: 2.14 MB / 0.5263 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001552/0.4476, allocations: 480.8 kB / 0.5268 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.4481, allocations: 139.4 kB / 0.5269 GB, free: 13.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4481, allocations: 0 / 0.5269 GB, free: 13.4 MB / 462.1 MB Notification: Performance of Templates: time 0.2532/0.7012, allocations: 31.77 MB / 0.5579 GB, free: 116 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches