Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 107.1 kB / 17.74 MB, free: 5.316 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.001734/0.001734, allocations: 188.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.89 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2361, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01223/0.2483, allocations: 11.81 MB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.2549, allocations: 3.921 MB / 417.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.2563, allocations: 67.75 kB / 417.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.2584, allocations: 0.8654 MB / 418.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.261, allocations: 0.9783 MB / 419.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2622, allocations: 0.5265 MB / 419.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.2658, allocations: 3.436 MB / 423 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.2686, allocations: 2.716 MB / 425.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.2704, allocations: 1.542 MB / 427.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.2726, allocations: 1.934 MB / 429.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004924/0.2731, allocations: 416 kB / 429.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.2742, allocations: 0.6401 MB / 430.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009224/0.2751, allocations: 1.141 MB / 431.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.2767, allocations: 1.843 MB / 433.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.2811, allocations: 5.374 MB / 438.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2811, allocations: 0 / 438.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2811, allocations: 0 / 438.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.2812, allocations: 0 / 438.6 MB, free: 3.445 MB / 350.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.006535/0.2877, allocations: 3.715 MB / 442.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2878, allocations: 8.031 kB / 442.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2891, allocations: 432.7 kB / 442.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.2919, allocations: 1.961 MB / 444.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.2921, allocations: 205.4 kB / 444.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.2924, allocations: 267.9 kB / 445.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/0.2979, allocations: 3.521 MB / 448.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.298, allocations: 15.94 kB / 448.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.2982, allocations: 116 kB / 448.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.2984, allocations: 117.3 kB / 448.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.3032, allocations: 2.964 MB / 451.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.3185, allocations: 10.96 MB / 462.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.3212, allocations: 2.273 MB / 465.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.3232, allocations: 1.187 MB / 466.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.3234, allocations: 199.5 kB / 466.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3235, allocations: 47.88 kB / 466.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.789e-06/0.3235, allocations: 0 / 466.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01528/0.3388, allocations: 7.517 MB / 474.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3389, allocations: 68.72 kB / 474.2 MB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3415, allocations: 1.979 MB / 476.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.3417, allocations: 49.7 kB / 476.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/0.3425, allocations: 1.308 MB / 477.5 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3429, allocations: 0.5084 MB / 478 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.3434, allocations: 331.2 kB / 478.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.3435, allocations: 305.1 kB / 478.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.345, allocations: 0.8823 MB / 479.5 MB, free: 9.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3467, allocations: 1.371 MB / 480.9 MB, free: 7.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.35, allocations: 2.381 MB / 483.3 MB, free: 5.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.35, allocations: 4 kB / 483.3 MB, free: 5.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004906/0.355, allocations: 2.989 MB / 486.3 MB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.355, allocations: 12 kB / 486.3 MB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.355, allocations: 16 kB / 486.3 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3561, allocations: 457.2 kB / 486.7 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3577, allocations: 435.3 kB / 487.2 MB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006408/0.3641, allocations: 6.11 MB / 493.3 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.3657, allocations: 127.8 kB / 493.4 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.3659, allocations: 68 kB / 493.5 MB, free: 10.86 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.001293/0.3672, allocations: 0.8524 MB / 494.3 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.3676, allocations: 213.4 kB / 494.5 MB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.3719, allocations: 2.583 MB / 497.1 MB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/0.372, allocations: 16 kB / 497.1 MB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.372, allocations: 8 kB / 497.1 MB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.372, allocations: 11.97 kB / 497.1 MB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/0.3808, allocations: 5.61 MB / 0.491 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3809, allocations: 0 / 0.491 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.3821, allocations: 284 kB / 0.4912 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.3833, allocations: 0.4902 MB / 0.4917 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3835, allocations: 39.92 kB / 0.4917 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007574/0.391, allocations: 7.685 MB / 0.4993 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3911, allocations: 4 kB / 0.4993 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.397, allocations: 3.847 MB / 0.503 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/0.398, allocations: 474.4 kB / 0.5035 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.3983, allocations: 39.98 kB / 0.5035 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.3996, allocations: 95.89 kB / 0.5036 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.3999, allocations: 121 kB / 0.5037 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.4, allocations: 51.98 kB / 0.5038 GB, free: 3.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002065/0.402, allocations: 1.356 MB / 0.5051 GB, free: 2.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4021, allocations: 0 / 0.5051 GB, free: 2.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001826/0.4039, allocations: 0.582 MB / 0.5057 GB, free: 1.77 MB / 430.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.000456/0.4044, allocations: 230.9 kB / 0.5059 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.4085, allocations: 2.606 MB / 0.5084 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4086, allocations: 1.938 kB / 0.5084 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.4112, allocations: 1.603 MB / 0.51 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4134, allocations: 494.8 kB / 0.5105 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009012/0.4224, allocations: 5.643 MB / 0.516 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/0.4243, allocations: 2.112 MB / 0.518 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.425, allocations: 151.4 kB / 0.5182 GB, free: 4.75 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.425, allocations: 0 / 0.5182 GB, free: 4.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2471/0.6721, allocations: 75.47 MB / 0.5919 GB, free: 83.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches