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.001824/0.001824, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.672/1.672, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.78 kB / 307.7 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1017, allocations: 50.55 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01478/0.1165, allocations: 11.82 MB / 370 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1729/0.2895, allocations: 4.002 MB / 374 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.291, allocations: 64.47 kB / 374.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.2931, allocations: 0.8523 MB / 374.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.2957, allocations: 0.986 MB / 375.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2969, allocations: 0.5258 MB / 376.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.3005, allocations: 3.449 MB / 379.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.3033, allocations: 2.721 MB / 382.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.3057, allocations: 1.542 MB / 384.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.3086, allocations: 1.94 MB / 386.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007991/0.3094, allocations: 409.7 kB / 386.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.3111, allocations: 0.623 MB / 387.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.3122, allocations: 1.149 MB / 388.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3144, allocations: 1.844 MB / 390.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.3192, allocations: 5.326 MB / 395.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3192, allocations: 1.375 kB / 395.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3192, allocations: 0 / 395.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.3193, allocations: 0 / 395.4 MB, free: 1.309 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.008329/0.3277, allocations: 3.722 MB / 399.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3277, allocations: 10.78 kB / 399.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.3296, allocations: 465.7 kB / 399.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.3333, allocations: 1.927 MB / 401.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.3335, allocations: 218.4 kB / 401.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.3339, allocations: 265.1 kB / 402 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/0.3403, allocations: 3.527 MB / 405.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/0.3404, allocations: 4 kB / 405.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.3407, allocations: 108 kB / 405.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.3409, allocations: 121.2 kB / 405.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/0.3464, allocations: 2.968 MB / 408.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/0.3661, allocations: 11.11 MB / 419.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.3693, allocations: 2.277 MB / 422.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.3716, allocations: 1.18 MB / 423.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.3719, allocations: 206.9 kB / 423.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.372, allocations: 51.81 kB / 423.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.096e-06/0.372, allocations: 0 / 423.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01812/0.3901, allocations: 7.525 MB / 431.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3903, allocations: 68.72 kB / 431.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.3936, allocations: 1.988 MB / 433.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.3938, allocations: 45.7 kB / 433.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3949, allocations: 1.317 MB / 434.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.3954, allocations: 0.5107 MB / 435 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005461/0.3959, allocations: 327.3 kB / 435.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3961, allocations: 301.1 kB / 435.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.3977, allocations: 0.8862 MB / 436.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.3997, allocations: 1.374 MB / 437.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.4043, allocations: 2.373 MB / 440.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.4043, allocations: 8 kB / 440.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005902/0.4102, allocations: 2.982 MB / 443.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.4103, allocations: 15.94 kB / 443.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.4103, allocations: 12 kB / 443.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.4116, allocations: 475.9 kB / 443.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.4135, allocations: 435.2 kB / 444.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007996/0.4215, allocations: 6.086 MB / 450.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.4237, allocations: 123.8 kB / 450.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.4241, allocations: 75.98 kB / 450.5 MB, free: 11.52 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.002031/0.4261, allocations: 0.8513 MB / 451.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007797/0.4269, allocations: 221.3 kB / 451.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/0.4326, allocations: 2.587 MB / 454.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/0.4327, allocations: 19.94 kB / 454.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.4327, allocations: 4 kB / 454.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.4327, allocations: 7.969 kB / 454.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.4454, allocations: 5.639 MB / 459.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4455, allocations: 4 kB / 459.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.4468, allocations: 284 kB / 460.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.4483, allocations: 0.5014 MB / 460.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.4485, allocations: 35.98 kB / 460.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009352/0.4578, allocations: 7.694 MB / 468.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4579, allocations: 4 kB / 468.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.4649, allocations: 3.839 MB / 472.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4662, allocations: 478.4 kB / 472.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.4666, allocations: 43.98 kB / 472.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.4678, allocations: 95.89 kB / 472.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.4681, allocations: 121 kB / 472.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.4682, allocations: 39.98 kB / 472.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002362/0.4706, allocations: 1.372 MB / 474.3 MB, free: 3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4706, allocations: 0 / 474.3 MB, free: 3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002187/0.4728, allocations: 0.5859 MB / 474.9 MB, free: 2.414 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.0005083/0.4733, allocations: 229.8 kB / 475.1 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007034/0.4803, allocations: 3.354 MB / 478.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.4804, allocations: 2 kB / 478.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.4836, allocations: 1.606 MB / 480 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/0.4868, allocations: 0.4899 MB / 480.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.4977, allocations: 5.711 MB / 486.2 MB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.4998, allocations: 2.112 MB / 488.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007528/0.5006, allocations: 147.4 kB / 488.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5006, allocations: 0 / 488.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of Templates: time 0.2496/0.7502, allocations: 75.47 MB / 0.5507 GB, free: 140.1 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.1.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