Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000893/0.0008931, allocations: 196.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007866, allocations: 103.2 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001953/0.0001951, allocations: 4 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1979, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008327/0.2063, allocations: 10.5 MB / 422.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.2123, allocations: 4.638 MB / 427.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.2134, allocations: 59.75 kB / 427.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.2149, allocations: 0.7538 MB / 428 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.2166, allocations: 0.8897 MB / 428.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.2174, allocations: 467.5 kB / 429.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.2199, allocations: 3.858 MB / 433.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.2219, allocations: 2.256 MB / 435.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2231, allocations: 1.186 MB / 436.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.2247, allocations: 1.626 MB / 438.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.225, allocations: 172 kB / 438.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.2259, allocations: 431.3 kB / 438.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.2267, allocations: 0.8641 MB / 439.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.2281, allocations: 1.552 MB / 441.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.2321, allocations: 5.041 MB / 446.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2321, allocations: 0 / 446.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2321, allocations: 0 / 446.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.765e-05/0.2322, allocations: 0 / 446.3 MB, free: 7.246 MB / 314.7 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.005694/0.2379, allocations: 3.158 MB / 449.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.238, allocations: 12.03 kB / 449.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2394, allocations: 480.7 kB / 450 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.2424, allocations: 1.907 MB / 451.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.2426, allocations: 217.3 kB / 452.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.243, allocations: 263.9 kB / 452.3 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005573/0.2486, allocations: 3.529 MB / 455.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.2486, allocations: 7.938 kB / 455.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.2489, allocations: 112 kB / 456 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.249, allocations: 125.2 kB / 456.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/0.254, allocations: 2.98 MB / 459.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.2692, allocations: 11.17 MB / 470.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.2718, allocations: 2.288 MB / 472.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.2737, allocations: 1.207 MB / 473.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.274, allocations: 207.5 kB / 474 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.274, allocations: 47.81 kB / 474 MB, free: 10.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 3.566e-06/0.274, allocations: 0 / 474 MB, free: 10.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.01502/0.2891, allocations: 7.648 MB / 481.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.2891, allocations: 72.72 kB / 481.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.2917, allocations: 1.967 MB / 483.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.404e-05/0.2918, allocations: 49.7 kB / 483.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.2927, allocations: 1.308 MB / 485 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.2931, allocations: 0.5045 MB / 485.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.2932, allocations: 32 kB / 485.6 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2933, allocations: 377.9 kB / 485.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.2948, allocations: 0.894 MB / 486.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.2965, allocations: 1.387 MB / 488.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.2997, allocations: 2.4 MB / 490.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.2997, allocations: 4 kB / 490.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005003/0.3047, allocations: 2.998 MB / 493.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3048, allocations: 21.25 kB / 493.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.3048, allocations: 16 kB / 493.7 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.306, allocations: 463.5 kB / 494.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.3075, allocations: 443.3 kB / 494.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006075/0.3136, allocations: 5.595 MB / 0.4884 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.3153, allocations: 127.7 kB / 0.4885 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.3154, allocations: 79.98 kB / 0.4886 GB, free: 15.5 MB / 378.7 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.001507/0.3169, allocations: 0.8485 MB / 0.4895 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.3173, allocations: 209.5 kB / 0.4897 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.3217, allocations: 2.615 MB / 0.4922 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.3217, allocations: 16 kB / 0.4922 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3217, allocations: 4 kB / 0.4922 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.3218, allocations: 15.97 kB / 0.4922 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00926/0.331, allocations: 5.664 MB / 0.4978 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3311, allocations: 7.938 kB / 0.4978 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.3323, allocations: 299.7 kB / 0.4981 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.3336, allocations: 0.4904 MB / 0.4985 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3337, allocations: 47.91 kB / 0.4986 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2189/0.5527, allocations: 7.033 MB / 0.5055 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5528, allocations: 3.156 kB / 0.5055 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.5589, allocations: 3.877 MB / 0.5092 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.56, allocations: 485.3 kB / 0.5097 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.5603, allocations: 32.38 kB / 0.5097 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5614, allocations: 111.7 kB / 0.5098 GB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.5617, allocations: 122 kB / 0.51 GB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.5619, allocations: 44.69 kB / 0.51 GB, free: 85.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001833/0.5637, allocations: 1.342 MB / 0.5113 GB, free: 84.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5637, allocations: 4.375 kB / 0.5113 GB, free: 84.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002104/0.5658, allocations: 0.5876 MB / 0.5119 GB, free: 84.93 MB / 378.7 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.0004453/0.5663, allocations: 222.4 kB / 0.5121 GB, free: 84.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.5701, allocations: 2.628 MB / 0.5147 GB, free: 83.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5702, allocations: 1.344 kB / 0.5147 GB, free: 83.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.5724, allocations: 1.613 MB / 0.5163 GB, free: 82.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.5751, allocations: 482.3 kB / 0.5167 GB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.5829, allocations: 6.982 MB / 0.5235 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.5843, allocations: 2.13 MB / 0.5256 GB, free: 76.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001616/0.5859, allocations: 473 kB / 0.5261 GB, free: 75.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.5864, allocations: 139.4 kB / 0.5262 GB, free: 75.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5864, allocations: 4 kB / 0.5262 GB, free: 75.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04565/0.6321, allocations: 29.25 MB / 0.5548 GB, free: 46.84 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches