Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 177.2 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007333/0.0007334, allocations: 90.38 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002508, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1911, allocations: 47.59 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.01927/0.2104, allocations: 26.69 MB / 403.3 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.2239, allocations: 10.53 MB / 413.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/0.2279, allocations: 155.5 kB / 414 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003894/0.2318, allocations: 1.56 MB / 415.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.2391, allocations: 3.651 MB / 419.2 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.242, allocations: 1.986 MB / 421.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008841/0.2509, allocations: 8.995 MB / 430.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01853/0.2694, allocations: 14.81 MB / 445 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006941/0.2764, allocations: 3.125 MB / 448.1 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0086/0.2851, allocations: 3.8 MB / 451.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002625/0.2877, allocations: 476 kB / 452.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.2927, allocations: 0.8199 MB / 453.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003074/0.2958, allocations: 1.584 MB / 454.8 MB, free: 416 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008398/0.3042, allocations: 3.788 MB / 458.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02008/0.3243, allocations: 14.78 MB / 473.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3244, allocations: 0 / 473.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3244, allocations: 0 / 473.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004279/0.3248, allocations: 7.938 kB / 473.4 MB, free: 13.76 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02138/0.3462, allocations: 8.176 MB / 481.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3463, allocations: 8.031 kB / 481.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02671/0.373, allocations: 5.282 MB / 486.8 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009378/0.3824, allocations: 4.66 MB / 491.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000623/0.3831, allocations: 0.5338 MB / 492 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.3854, allocations: 0.703 MB / 492.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1777/0.5632, allocations: 11.26 MB / 0.4922 GB, free: 95.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.5634, allocations: 24.2 kB / 0.4922 GB, free: 95.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009554/0.5644, allocations: 299.6 kB / 0.4925 GB, free: 95.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003179/0.5647, allocations: 442.7 kB / 0.4929 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.5844, allocations: 10.75 MB / 0.5034 GB, free: 91.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/0.635, allocations: 38.13 MB / 0.5406 GB, free: 59.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.6476, allocations: 28.07 MB / 0.5681 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.6512, allocations: 2.642 MB / 0.5706 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.662, allocations: 7.947 MB / 0.5784 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.6621, allocations: 56.56 kB / 0.5785 GB, free: 16.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.549e-06/0.6621, allocations: 0 / 0.5785 GB, free: 16.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01603/0.6781, allocations: 10.34 MB / 0.5886 GB, free: 6.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001467/0.6797, allocations: 1.9 MB / 0.5904 GB, free: 4.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.6842, allocations: 3.799 MB / 0.5941 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.6845, allocations: 61.7 kB / 0.5942 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/0.6867, allocations: 3.556 MB / 0.5976 GB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/0.6875, allocations: 0.8265 MB / 0.5985 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.6878, allocations: 96 kB / 0.5985 GB, free: 12.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.688, allocations: 0.4968 MB / 0.599 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/0.6908, allocations: 1.868 MB / 0.6009 GB, free: 9.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/0.6951, allocations: 4.376 MB / 0.6051 GB, free: 4.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007954/0.703, allocations: 6.756 MB / 0.6117 GB, free: 12.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.646e-05/0.7031, allocations: 27.94 kB / 0.6118 GB, free: 12.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01186/0.715, allocations: 6.944 MB / 0.6185 GB, free: 5.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.7151, allocations: 44 kB / 0.6186 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.7153, allocations: 84 kB / 0.6187 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.7172, allocations: 0.748 MB / 0.6194 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/0.7209, allocations: 1.111 MB / 0.6205 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.7279, allocations: 5.229 MB / 0.6256 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/0.7316, allocations: 311.1 kB / 0.6259 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/0.7321, allocations: 272 kB / 0.6261 GB, free: 13.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004277/0.7364, allocations: 2.522 MB / 0.6286 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007479/0.7372, allocations: 391.2 kB / 0.629 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/0.7443, allocations: 4.255 MB / 0.6331 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.7444, allocations: 24 kB / 0.6332 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7444, allocations: 8 kB / 0.6332 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.7444, allocations: 15.89 kB / 0.6332 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/0.7664, allocations: 14.27 MB / 0.6471 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.7665, allocations: 12 kB / 0.6471 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.7683, allocations: 483.2 kB / 0.6476 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.7703, allocations: 0.6935 MB / 0.6483 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.7705, allocations: 67.98 kB / 0.6483 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1857/0.9562, allocations: 6.933 MB / 0.6551 GB, free: 144.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001362/0.9576, allocations: 1.86 MB / 0.6569 GB, free: 143.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008714/0.9664, allocations: 6.707 MB / 0.6635 GB, free: 141.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/0.9682, allocations: 0.7927 MB / 0.6642 GB, free: 140.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/0.9687, allocations: 65.19 kB / 0.6643 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.9704, allocations: 164.2 kB / 0.6645 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/0.9709, allocations: 225.3 kB / 0.6647 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.9711, allocations: 87.39 kB / 0.6648 GB, free: 140.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00372/0.9748, allocations: 2.485 MB / 0.6672 GB, free: 139.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9748, allocations: 0.9062 kB / 0.6672 GB, free: 139.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004485/0.9793, allocations: 1.289 MB / 0.6684 GB, free: 139.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004757/0.9798, allocations: 232.1 kB / 0.6687 GB, free: 139.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006639/0.9864, allocations: 5.12 MB / 0.6737 GB, free: 137.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9865, allocations: 0 / 0.6737 GB, free: 137.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.9893, allocations: 2.399 MB / 0.676 GB, free: 136.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008968/0.9983, allocations: 0.9391 MB / 0.6769 GB, free: 136 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.018, allocations: 15.47 MB / 0.692 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004674/1.022, allocations: 4.501 MB / 0.6964 GB, free: 122.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004386/1.027, allocations: 1.361 MB / 0.6978 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.028, allocations: 294.6 kB / 0.698 GB, free: 121.6 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/1.028, allocations: 0 / 0.698 GB, free: 121.6 MB / 442.7 MB Notification: Performance of Templates: time 0.08105/1.109, allocations: 54.04 MB / 0.7508 GB, free: 68.26 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches