Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 115.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 55.44 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1003, allocations: 50.53 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01304/0.1133, allocations: 11.75 MB / 369.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1752/0.2885, allocations: 3.929 MB / 373.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.2906, allocations: 62.59 kB / 373.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.2935, allocations: 0.7557 MB / 374.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.2969, allocations: 0.8828 MB / 375 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.2985, allocations: 474.8 kB / 375.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005232/0.3038, allocations: 3.444 MB / 378.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/0.3075, allocations: 2.717 MB / 381.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.3103, allocations: 1.547 MB / 383.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.313, allocations: 1.98 MB / 385.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.3136, allocations: 407.8 kB / 385.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.315, allocations: 0.6365 MB / 386.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.3161, allocations: 1.148 MB / 387.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.3179, allocations: 1.843 MB / 389.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.3216, allocations: 4.457 MB / 393.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3216, allocations: 0 / 393.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3217, allocations: 0 / 393.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.567e-05/0.3217, allocations: 2.438 kB / 393.7 MB, free: 2.375 MB / 302.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.007048/0.3288, allocations: 3.718 MB / 397.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3288, allocations: 9.812 kB / 397.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.3305, allocations: 470.2 kB / 397.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.3336, allocations: 1.931 MB / 399.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3338, allocations: 208.7 kB / 400 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.3342, allocations: 262.8 kB / 400.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/0.34, allocations: 3.527 MB / 403.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/0.3401, allocations: 11.89 kB / 403.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.3404, allocations: 111.9 kB / 403.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.3405, allocations: 121.2 kB / 404 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/0.3456, allocations: 2.968 MB / 407 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.3636, allocations: 11.1 MB / 418.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.3664, allocations: 2.273 MB / 420.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.3684, allocations: 1.181 MB / 421.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.3687, allocations: 213.6 kB / 421.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3688, allocations: 51.81 kB / 421.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 4.628e-06/0.3688, allocations: 0 / 421.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01656/0.3854, allocations: 7.519 MB / 429.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3854, allocations: 64.72 kB / 429.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.3892, allocations: 1.996 MB / 431.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.3893, allocations: 45.7 kB / 431.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009766/0.3903, allocations: 1.327 MB / 432.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.3908, allocations: 0.5044 MB / 433.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005672/0.3913, allocations: 331.2 kB / 433.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.3914, allocations: 301.1 kB / 433.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.3929, allocations: 0.8822 MB / 434.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.3947, allocations: 1.375 MB / 436.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.3981, allocations: 2.375 MB / 438.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.3981, allocations: 8 kB / 438.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005762/0.4039, allocations: 2.984 MB / 441.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.404, allocations: 11.94 kB / 441.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/0.404, allocations: 16 kB / 441.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.4054, allocations: 473 kB / 442 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.4071, allocations: 431.3 kB / 442.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006702/0.4138, allocations: 6.092 MB / 448.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.4159, allocations: 119.8 kB / 448.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.4162, allocations: 76 kB / 448.7 MB, free: 12.93 MB / 366.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.001838/0.418, allocations: 0.8563 MB / 449.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007149/0.4188, allocations: 213.4 kB / 449.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/0.4236, allocations: 2.597 MB / 452.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/0.4236, allocations: 16 kB / 452.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4237, allocations: 4 kB / 452.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.4237, allocations: 7.969 kB / 452.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.4354, allocations: 5.639 MB / 458 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.4354, allocations: 8.344 kB / 458 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.4367, allocations: 279.6 kB / 458.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.4381, allocations: 0.4943 MB / 458.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.4383, allocations: 43.25 kB / 458.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008273/0.4466, allocations: 7.687 MB / 466.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4466, allocations: 4 kB / 466.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.4539, allocations: 3.845 MB / 470.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.4554, allocations: 482.4 kB / 470.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007881/0.4562, allocations: 35.98 kB / 470.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.458, allocations: 99.89 kB / 471 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.4584, allocations: 125 kB / 471.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.4585, allocations: 43.98 kB / 471.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003028/0.4615, allocations: 1.364 MB / 472.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4616, allocations: 0 / 472.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00321/0.4648, allocations: 0.5898 MB / 473.1 MB, free: 3.816 MB / 382.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.0006429/0.4654, allocations: 222 kB / 473.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006944/0.4724, allocations: 3.354 MB / 476.6 MB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.4724, allocations: 0 / 476.6 MB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.4753, allocations: 1.61 MB / 478.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.4791, allocations: 0.4963 MB / 478.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.4924, allocations: 6.883 MB / 485.6 MB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/0.4953, allocations: 2.105 MB / 487.7 MB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/0.4962, allocations: 151.4 kB / 487.9 MB, free: 4.82 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4962, allocations: 0 / 487.9 MB, free: 4.82 MB / 398.1 MB Notification: Performance of Templates: time 0.2857/0.7819, allocations: 75.46 MB / 0.5501 GB, free: 140.3 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches