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.001245/0.001245, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 205.9 kB / 18.79 MB, free: 4.254 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.442/1.442, allocations: 230.4 MB / 250 MB, free: 9.051 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.001944/0.001944, allocations: 67.83 kB / 367.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 53.29 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01601/0.3202, allocations: 11.9 MB / 432.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3305, allocations: 3.99 MB / 436.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.3337, allocations: 67.75 kB / 436.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.3371, allocations: 0.8967 MB / 437.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.3419, allocations: 1.029 MB / 438.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3435, allocations: 0.5265 MB / 439.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.3493, allocations: 3.464 MB / 442.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.3522, allocations: 1.951 MB / 444.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.3551, allocations: 1.557 MB / 446 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.3589, allocations: 1.989 MB / 448 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.3597, allocations: 408 kB / 448.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.3612, allocations: 0.6479 MB / 449.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.3625, allocations: 1.157 MB / 450.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.365, allocations: 1.839 MB / 452.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007056/0.3721, allocations: 5.407 MB / 457.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3721, allocations: 3.938 kB / 457.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3721, allocations: 0 / 457.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.3722, allocations: 4 kB / 457.5 MB, free: 3.324 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.008712/0.3809, allocations: 3.812 MB / 461.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.381, allocations: 8.031 kB / 461.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3827, allocations: 494.5 kB / 461.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.3866, allocations: 1.99 MB / 463.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.3868, allocations: 209.3 kB / 464 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.3872, allocations: 271.9 kB / 464.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006739/0.394, allocations: 3.521 MB / 467.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/0.3941, allocations: 11.92 kB / 467.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.3943, allocations: 108 kB / 467.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.3945, allocations: 121.3 kB / 468 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006912/0.4014, allocations: 2.972 MB / 471 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/0.4217, allocations: 10.99 MB / 482 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.4253, allocations: 2.187 MB / 484.2 MB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.4274, allocations: 1.105 MB / 485.3 MB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.4277, allocations: 203.5 kB / 485.5 MB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.4278, allocations: 43.88 kB / 485.5 MB, free: 6.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 5.801e-06/0.4278, allocations: 7.938 kB / 485.5 MB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01731/0.4451, allocations: 7.549 MB / 493.1 MB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4452, allocations: 68.72 kB / 493.1 MB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.4484, allocations: 1.996 MB / 495.1 MB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4485, allocations: 49.7 kB / 495.2 MB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.4496, allocations: 1.35 MB / 496.5 MB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005023/0.4501, allocations: 0.5307 MB / 497 MB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/0.4507, allocations: 323.5 kB / 497.4 MB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4508, allocations: 301.1 kB / 497.7 MB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.4524, allocations: 0.8901 MB / 498.5 MB, free: 9.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.4543, allocations: 1.368 MB / 499.9 MB, free: 7.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.4579, allocations: 2.385 MB / 0.4905 GB, free: 5.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4579, allocations: 4 kB / 0.4905 GB, free: 5.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005618/0.4636, allocations: 2.991 MB / 0.4935 GB, free: 2.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4636, allocations: 12.38 kB / 0.4935 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4636, allocations: 16 kB / 0.4935 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.4648, allocations: 458.2 kB / 0.4939 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4664, allocations: 431.3 kB / 0.4943 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.474, allocations: 6.106 MB / 0.5003 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.476, allocations: 119.8 kB / 0.5004 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.4762, allocations: 83.97 kB / 0.5005 GB, free: 10.59 MB / 430.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.001885/0.4781, allocations: 0.8485 MB / 0.5013 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/0.4787, allocations: 230.5 kB / 0.5015 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/0.4836, allocations: 2.587 MB / 0.5041 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/0.4837, allocations: 16 kB / 0.5041 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.4837, allocations: 4 kB / 0.5041 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.4837, allocations: 11.91 kB / 0.5041 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.4945, allocations: 5.595 MB / 0.5096 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4946, allocations: 4 kB / 0.5096 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.4958, allocations: 284 kB / 0.5098 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.4972, allocations: 0.4971 MB / 0.5103 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.4973, allocations: 43.98 kB / 0.5104 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009322/0.5067, allocations: 7.685 MB / 0.5179 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5067, allocations: 4 kB / 0.5179 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/0.5133, allocations: 3.84 MB / 0.5216 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.5145, allocations: 491.5 kB / 0.5221 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.5148, allocations: 35.98 kB / 0.5221 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.516, allocations: 99.89 kB / 0.5222 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.5163, allocations: 113.1 kB / 0.5223 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5164, allocations: 43.98 kB / 0.5224 GB, free: 3.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002306/0.5187, allocations: 1.376 MB / 0.5237 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5187, allocations: 0 / 0.5237 GB, free: 2.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002061/0.5208, allocations: 0.582 MB / 0.5243 GB, free: 1.477 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.0005008/0.5213, allocations: 222.9 kB / 0.5245 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0047/0.526, allocations: 2.51 MB / 0.5269 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.526, allocations: 8.375 kB / 0.5269 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002822/0.5288, allocations: 1.537 MB / 0.5284 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.5312, allocations: 0.5001 MB / 0.5289 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.5414, allocations: 5.703 MB / 0.5345 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.5435, allocations: 2.132 MB / 0.5366 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001585/0.5451, allocations: 469 kB / 0.537 GB, free: 4.207 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.5455, allocations: 143.4 kB / 0.5372 GB, free: 4.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5455, allocations: 0 / 0.5372 GB, free: 4.07 MB / 462.1 MB Notification: Performance of Templates: time 0.2513/0.7969, allocations: 31.95 MB / 0.5684 GB, free: 98.47 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/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