Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 195.7 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007485/0.0007485, allocations: 95.62 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000214/0.0002141, allocations: 4 kB / 360.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1868, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.006012/0.1929, allocations: 7.999 MB / 420.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1969, allocations: 3.745 MB / 423.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.1977, allocations: 39.81 kB / 423.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.1988, allocations: 0.5983 MB / 424.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.2001, allocations: 0.6334 MB / 425.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.2006, allocations: 279.6 kB / 425.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.202, allocations: 2.425 MB / 427.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.2031, allocations: 1.184 MB / 429 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.2037, allocations: 0.735 MB / 429.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007766/0.2045, allocations: 0.9802 MB / 430.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.2047, allocations: 104 kB / 430.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.2051, allocations: 203.8 kB / 431 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.2055, allocations: 0.5294 MB / 431.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.2061, allocations: 0.9382 MB / 432.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.2077, allocations: 2.923 MB / 435.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2077, allocations: 0 / 435.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2077, allocations: 0 / 435.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.2078, allocations: 0 / 435.4 MB, free: 2.328 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00259/0.2103, allocations: 1.942 MB / 437.3 MB, free: 336 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.2104, allocations: 8.031 kB / 437.3 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.2109, allocations: 230.5 kB / 437.5 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.2126, allocations: 1.181 MB / 438.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.2127, allocations: 119.4 kB / 438.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.2129, allocations: 159.8 kB / 439 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.2158, allocations: 1.989 MB / 441 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.2159, allocations: 11.98 kB / 441 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.216, allocations: 60 kB / 441 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/0.2161, allocations: 74.92 kB / 441.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.2186, allocations: 1.643 MB / 442.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008302/0.2269, allocations: 6.971 MB / 449.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.2276, allocations: 449.3 kB / 450.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.228, allocations: 258 kB / 450.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.2282, allocations: 117.5 kB / 450.5 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2282, allocations: 39 kB / 450.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.2282, allocations: 3.938 kB / 450.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.006534/0.2348, allocations: 3.296 MB / 453.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00225/0.237, allocations: 2.174 MB / 456.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.2391, allocations: 1.6 MB / 457.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.2392, allocations: 37.7 kB / 457.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/0.2398, allocations: 1.022 MB / 458.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.24, allocations: 240.9 kB / 458.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.2401, allocations: 32 kB / 459 MB, free: 9.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2403, allocations: 373.8 kB / 459.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.241, allocations: 0.5075 MB / 459.9 MB, free: 9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.2423, allocations: 1.461 MB / 461.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.2443, allocations: 2.134 MB / 463.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.2444, allocations: 8 kB / 463.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003163/0.2475, allocations: 2.137 MB / 465.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.2476, allocations: 23.94 kB / 465.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.2476, allocations: 32 kB / 465.6 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.2482, allocations: 239 kB / 465.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.2493, allocations: 391.3 kB / 466.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2508, allocations: 1.71 MB / 468 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.252, allocations: 135.4 kB / 468.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.2521, allocations: 95.98 kB / 468.2 MB, free: 15.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008117/0.2529, allocations: 0.5893 MB / 468.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.2531, allocations: 158 kB / 468.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.2549, allocations: 1.098 MB / 470 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2549, allocations: 15.94 kB / 470.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2549, allocations: 0 / 470.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.255, allocations: 11.86 kB / 470.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.2599, allocations: 3.386 MB / 473.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.2599, allocations: 4 kB / 473.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.2604, allocations: 107.8 kB / 473.6 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.261, allocations: 239.1 kB / 473.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.2611, allocations: 19.98 kB / 473.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/0.2644, allocations: 3.698 MB / 477.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00196/0.2664, allocations: 2.002 MB / 479.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.2688, allocations: 1.738 MB / 481.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.2694, allocations: 311 kB / 481.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.2695, allocations: 27.92 kB / 481.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.2702, allocations: 51.95 kB / 481.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2703, allocations: 63.8 kB / 481.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.2704, allocations: 20 kB / 481.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.2718, allocations: 1.066 MB / 482.8 MB, free: 252 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2718, allocations: 0 / 482.8 MB, free: 252 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001409/0.2732, allocations: 380 kB / 483.2 MB, free: 15.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/0.2736, allocations: 189.5 kB / 483.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.2759, allocations: 1.593 MB / 484.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2759, allocations: 4 kB / 484.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2771, allocations: 0.8401 MB / 485.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.2797, allocations: 389.6 kB / 486.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.2843, allocations: 3.875 MB / 490 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.2853, allocations: 1.465 MB / 491.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009852/0.2863, allocations: 354 kB / 491.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2866, allocations: 115.4 kB / 492 MB, free: 6.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2866, allocations: 0 / 492 MB, free: 6.82 MB / 362.7 MB Notification: Performance of Templates: time 0.03212/0.3187, allocations: 19.43 MB / 0.4994 GB, free: 3.602 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches