Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 51.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2483, allocations: 53.38 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03282/0.2811, allocations: 26.61 MB / 457.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.2993, allocations: 8.573 MB / 466.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005627/0.3049, allocations: 226.9 kB / 466.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.3174, allocations: 4.644 MB / 471.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009446/0.3268, allocations: 3.046 MB / 474.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.3311, allocations: 1.598 MB / 475.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.3423, allocations: 8.855 MB / 484.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01392/0.3562, allocations: 9.085 MB / 493.7 MB, free: 7.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.3626, allocations: 4.355 MB / 498.1 MB, free: 3.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.3702, allocations: 4.62 MB / 0.4909 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.3724, allocations: 1.16 MB / 0.4921 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.3761, allocations: 1.527 MB / 0.4936 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.3787, allocations: 2.415 MB / 0.4959 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006399/0.3851, allocations: 3.657 MB / 0.4995 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02127/0.4064, allocations: 15.94 MB / 0.5151 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4064, allocations: 0 / 0.5151 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4064, allocations: 0 / 0.5151 GB, free: 5.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003577/0.4068, allocations: 0 / 0.5151 GB, free: 5.918 MB / 430.1 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.03008/0.4368, allocations: 9.88 MB / 0.5247 GB, free: 11.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4369, allocations: 8.031 kB / 0.5247 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004019/0.4409, allocations: 1.145 MB / 0.5258 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/0.4709, allocations: 5.236 MB / 0.5309 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.4845, allocations: 5.109 MB / 0.5359 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2211/0.7056, allocations: 0.532 MB / 0.5365 GB, free: 92.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003462/0.7091, allocations: 0.7022 MB / 0.5371 GB, free: 92.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.7352, allocations: 11.59 MB / 0.5485 GB, free: 88.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/0.7356, allocations: 13.38 kB / 0.5485 GB, free: 88.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/0.738, allocations: 305.7 kB / 0.5488 GB, free: 88.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000407/0.7384, allocations: 446.3 kB / 0.5492 GB, free: 88.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.7569, allocations: 10.82 MB / 0.5597 GB, free: 79.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/0.8059, allocations: 33.76 MB / 0.5927 GB, free: 45.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.8167, allocations: 7.448 MB / 0.6 GB, free: 39.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.82, allocations: 2.436 MB / 0.6024 GB, free: 36.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.8332, allocations: 6.947 MB / 0.6091 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.8332, allocations: 52.56 kB / 0.6092 GB, free: 30.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.238e-06/0.8332, allocations: 4 kB / 0.6092 GB, free: 30.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01727/0.8505, allocations: 10.33 MB / 0.6193 GB, free: 20.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001531/0.852, allocations: 1.874 MB / 0.6211 GB, free: 18.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/0.8579, allocations: 3.991 MB / 0.625 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004188/0.8583, allocations: 65.7 kB / 0.6251 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.8602, allocations: 3.691 MB / 0.6287 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009213/0.8611, allocations: 0.8711 MB / 0.6295 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.8629, allocations: 0.9653 MB / 0.6305 GB, free: 8.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.8629, allocations: 301.1 kB / 0.6308 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.8653, allocations: 1.895 MB / 0.6326 GB, free: 6.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.8685, allocations: 4.45 MB / 0.637 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008686/0.8772, allocations: 6.804 MB / 0.6436 GB, free: 8.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-05/0.8773, allocations: 24 kB / 0.6436 GB, free: 8.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.013/0.8903, allocations: 6.997 MB / 0.6505 GB, free: 1.582 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.8904, allocations: 48.98 kB / 0.6505 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.8905, allocations: 84 kB / 0.6506 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.8927, allocations: 0.7332 MB / 0.6513 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/0.8965, allocations: 1.123 MB / 0.6524 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/0.9047, allocations: 5.455 MB / 0.6577 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/0.9088, allocations: 315.4 kB / 0.658 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007464/0.9095, allocations: 276 kB / 0.6583 GB, free: 9.438 MB / 478.1 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.004828/0.9143, allocations: 2.529 MB / 0.6608 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.9154, allocations: 401.4 kB / 0.6611 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008339/0.9238, allocations: 4.259 MB / 0.6653 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.9238, allocations: 28 kB / 0.6653 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.9238, allocations: 8 kB / 0.6653 GB, free: 2.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.9238, allocations: 11.95 kB / 0.6653 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02478/0.9486, allocations: 13.49 MB / 0.6785 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.9486, allocations: 12 kB / 0.6785 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.9505, allocations: 483.2 kB / 0.679 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.9526, allocations: 0.6933 MB / 0.6797 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.9529, allocations: 79.91 kB / 0.6797 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.9634, allocations: 7.162 MB / 0.6867 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002056/0.9655, allocations: 1.829 MB / 0.6885 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.9775, allocations: 6.761 MB / 0.6951 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/0.9798, allocations: 0.7627 MB / 0.6959 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/0.9807, allocations: 63.98 kB / 0.6959 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.983, allocations: 160.2 kB / 0.6961 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.9835, allocations: 237.3 kB / 0.6963 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.9837, allocations: 91.98 kB / 0.6964 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004887/0.9886, allocations: 2.529 MB / 0.6989 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9886, allocations: 0 / 0.6989 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005815/0.9944, allocations: 1.297 MB / 0.7001 GB, free: 13.67 MB / 0.5137 GB 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.01275/1.007, allocations: 7.445 MB / 0.7074 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009182/1.016, allocations: 4.823 MB / 0.7121 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.256e-05/1.016, allocations: 4 kB / 0.7121 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/1.021, allocations: 2.186 MB / 0.7143 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.027, allocations: 0.9907 MB / 0.7152 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2791/1.306, allocations: 46.23 MB / 0.7604 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003808/1.31, allocations: 4.026 MB / 0.7643 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003586/1.313, allocations: 1.358 MB / 0.7656 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.316, allocations: 2.563 MB / 0.7681 GB, free: 176.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/1.316, allocations: 0 / 0.7681 GB, free: 176.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/1.464, allocations: 108.1 MB / 0.8738 GB, free: 71.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/19.38, allocations: 16 kB / 0.8738 GB, free: 71.72 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.940264367032796]