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.001311/0.001311, 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.001435/0.001435, 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 4.1.0-beta.om/package.mo): time 1.528/1.528, allocations: 227.7 MB / 247.7 MB, free: 10.37 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.001924/0.001924, allocations: 63.55 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 50.53 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01486/0.1232, allocations: 11.84 MB / 370.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1864/0.3096, allocations: 3.994 MB / 374.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.3121, allocations: 65.75 kB / 374.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.3149, allocations: 0.8575 MB / 375.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.3187, allocations: 0.9852 MB / 376.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.3204, allocations: 0.5274 MB / 376.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004585/0.325, allocations: 3.448 MB / 380.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003831/0.3288, allocations: 2.705 MB / 382.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.3321, allocations: 1.542 MB / 384.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.3362, allocations: 1.939 MB / 386.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.3375, allocations: 408.3 kB / 386.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.3398, allocations: 0.624 MB / 387.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001605/0.3415, allocations: 1.153 MB / 388.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.3452, allocations: 1.842 MB / 390.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.3515, allocations: 5.321 MB / 395.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3516, allocations: 0 / 395.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3516, allocations: 1.469 kB / 395.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.3517, allocations: 0 / 395.7 MB, free: 1.164 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.01004/0.3618, allocations: 3.722 MB / 399.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3618, allocations: 8.469 kB / 399.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.364, allocations: 468.5 kB / 399.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.3684, allocations: 1.932 MB / 401.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.3687, allocations: 211.4 kB / 402 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3694, allocations: 273.9 kB / 402.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007793/0.3772, allocations: 3.524 MB / 405.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.316e-05/0.3773, allocations: 3.938 kB / 405.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.3776, allocations: 112 kB / 405.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.3778, allocations: 117.3 kB / 406 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006364/0.3841, allocations: 2.976 MB / 409 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.4072, allocations: 11.09 MB / 420.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.4107, allocations: 2.286 MB / 422.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.4131, allocations: 1.184 MB / 423.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.4134, allocations: 207.9 kB / 423.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.4135, allocations: 45.72 kB / 423.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.456e-06/0.4135, allocations: 0 / 423.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01906/0.4326, allocations: 7.519 MB / 431.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4327, allocations: 72.66 kB / 431.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.4363, allocations: 1.988 MB / 433.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.4366, allocations: 53.7 kB / 433.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.4377, allocations: 1.315 MB / 434.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/0.4383, allocations: 0.5084 MB / 435.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.4389, allocations: 326.8 kB / 435.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4391, allocations: 305.1 kB / 435.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.4407, allocations: 0.8823 MB / 436.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.4428, allocations: 1.377 MB / 438.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.4468, allocations: 2.378 MB / 440.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4468, allocations: 4 kB / 440.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006087/0.4529, allocations: 2.982 MB / 443.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.453, allocations: 14.34 kB / 443.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.453, allocations: 19.94 kB / 443.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.4543, allocations: 465.1 kB / 444 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.4562, allocations: 427.3 kB / 444.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/0.4645, allocations: 6.111 MB / 450.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.4668, allocations: 119.8 kB / 450.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.467, allocations: 71.98 kB / 450.7 MB, free: 11.37 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.001865/0.4689, allocations: 0.8602 MB / 451.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007042/0.4696, allocations: 209.4 kB / 451.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/0.475, allocations: 2.591 MB / 454.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.4751, allocations: 16 kB / 454.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4751, allocations: 7.984 kB / 454.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4751, allocations: 3.984 kB / 454.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.4869, allocations: 5.647 MB / 460 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.487, allocations: 4.031 kB / 460 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.4883, allocations: 287.5 kB / 460.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.49, allocations: 0.4936 MB / 460.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.4901, allocations: 39.97 kB / 460.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009499/0.4996, allocations: 7.677 MB / 468.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.4997, allocations: 7.938 kB / 468.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/0.507, allocations: 3.837 MB / 472.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.5085, allocations: 486.3 kB / 472.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.5089, allocations: 34.11 kB / 472.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.5102, allocations: 107.8 kB / 473 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.5105, allocations: 117 kB / 473.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5106, allocations: 43.98 kB / 473.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.513, allocations: 1.364 MB / 474.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.513, allocations: 4 kB / 474.5 MB, free: 2.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002272/0.5153, allocations: 0.5859 MB / 475.1 MB, free: 2.262 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.0005244/0.5158, allocations: 214 kB / 475.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.5229, allocations: 3.354 MB / 478.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5229, allocations: 0 / 478.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003138/0.5261, allocations: 1.611 MB / 480.3 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.5291, allocations: 0.4981 MB / 480.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.5401, allocations: 5.712 MB / 486.5 MB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.5423, allocations: 2.105 MB / 488.6 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/0.5431, allocations: 159.4 kB / 488.7 MB, free: 4.438 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5431, allocations: 0 / 488.7 MB, free: 4.438 MB / 398.1 MB Notification: Performance of Templates: time 0.2576/0.8007, allocations: 75.47 MB / 0.551 GB, free: 139.8 MB / 446.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/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