Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_trunk_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_trunk_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.001977/0.001977, allocations: 59.91 kB / 377.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.254, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03323/0.2872, allocations: 26.61 MB / 457.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3054, allocations: 8.565 MB / 466.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005815/0.3112, allocations: 226.9 kB / 466.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.3243, allocations: 4.648 MB / 471.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3344, allocations: 3.05 MB / 474.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.3394, allocations: 1.592 MB / 475.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3518, allocations: 8.863 MB / 484.7 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.3668, allocations: 9.082 MB / 493.8 MB, free: 7.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00729/0.374, allocations: 4.347 MB / 498.2 MB, free: 3.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008931/0.383, allocations: 4.624 MB / 0.491 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.3859, allocations: 1.16 MB / 0.4921 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005503/0.3914, allocations: 1.527 MB / 0.4936 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003881/0.3953, allocations: 2.411 MB / 0.496 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007556/0.4028, allocations: 3.657 MB / 0.4995 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.4237, allocations: 15.93 MB / 0.5151 GB, free: 5.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4237, allocations: 3.938 kB / 0.5151 GB, free: 5.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4237, allocations: 0 / 0.5151 GB, free: 5.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000396/0.4241, allocations: 0 / 0.5151 GB, free: 5.75 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.02898/0.4531, allocations: 9.884 MB / 0.5248 GB, free: 11.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4532, allocations: 11.98 kB / 0.5248 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002791/0.456, allocations: 1.149 MB / 0.5259 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02989/0.4858, allocations: 5.232 MB / 0.531 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.4985, allocations: 5.117 MB / 0.536 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2033/0.7017, allocations: 0.528 MB / 0.5365 GB, free: 92.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/0.7043, allocations: 0.7046 MB / 0.5372 GB, free: 92.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.7294, allocations: 11.58 MB / 0.5485 GB, free: 88.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.7297, allocations: 13.3 kB / 0.5485 GB, free: 88.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.7309, allocations: 301.1 kB / 0.5488 GB, free: 87.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/0.7313, allocations: 443.9 kB / 0.5492 GB, free: 87.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.7484, allocations: 10.82 MB / 0.5598 GB, free: 78.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04845/0.7969, allocations: 33.75 MB / 0.5928 GB, free: 45.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.8078, allocations: 7.44 MB / 0.6 GB, free: 38.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.8109, allocations: 2.44 MB / 0.6024 GB, free: 36.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.8231, allocations: 6.941 MB / 0.6092 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.8231, allocations: 60.56 kB / 0.6093 GB, free: 29.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.779e-06/0.8231, allocations: 0 / 0.6093 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01683/0.8399, allocations: 10.32 MB / 0.6193 GB, free: 19.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001475/0.8414, allocations: 1.886 MB / 0.6212 GB, free: 17.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005726/0.8471, allocations: 3.989 MB / 0.6251 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003093/0.8474, allocations: 65.7 kB / 0.6251 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.8489, allocations: 3.69 MB / 0.6287 GB, free: 9.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005946/0.8495, allocations: 0.8667 MB / 0.6296 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.8508, allocations: 0.9653 MB / 0.6305 GB, free: 8.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.8508, allocations: 301.1 kB / 0.6308 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.8531, allocations: 1.895 MB / 0.6327 GB, free: 5.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.8562, allocations: 4.45 MB / 0.637 GB, free: 168 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009241/0.8654, allocations: 6.804 MB / 0.6437 GB, free: 8.148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.8655, allocations: 27.94 kB / 0.6437 GB, free: 8.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01377/0.8793, allocations: 6.997 MB / 0.6505 GB, free: 1.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.8794, allocations: 44 kB / 0.6506 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.8795, allocations: 84 kB / 0.6506 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.8818, allocations: 0.7413 MB / 0.6514 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/0.8857, allocations: 1.123 MB / 0.6525 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008472/0.8942, allocations: 5.444 MB / 0.6578 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004235/0.8984, allocations: 315.4 kB / 0.6581 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/0.8994, allocations: 276.1 kB / 0.6583 GB, free: 8.969 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.005399/0.9048, allocations: 2.529 MB / 0.6608 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.9061, allocations: 409.4 kB / 0.6612 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/0.9149, allocations: 4.251 MB / 0.6653 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.915, allocations: 24 kB / 0.6654 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.915, allocations: 8 kB / 0.6654 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.915, allocations: 11.95 kB / 0.6654 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/0.944, allocations: 13.49 MB / 0.6786 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.9441, allocations: 12 kB / 0.6786 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/0.9461, allocations: 487.3 kB / 0.679 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.9483, allocations: 0.6935 MB / 0.6797 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/0.9486, allocations: 71.91 kB / 0.6798 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.959, allocations: 7.175 MB / 0.6868 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002011/0.961, allocations: 1.834 MB / 0.6886 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.9729, allocations: 6.762 MB / 0.6952 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/0.9754, allocations: 0.7587 MB / 0.6959 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/0.9765, allocations: 59.98 kB / 0.696 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/0.979, allocations: 164.3 kB / 0.6961 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/0.9795, allocations: 241.2 kB / 0.6964 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/0.9798, allocations: 87.98 kB / 0.6965 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005409/0.9852, allocations: 2.524 MB / 0.6989 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9852, allocations: 0 / 0.6989 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006607/0.9918, allocations: 1.297 MB / 0.7002 GB, free: 13.2 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.01338/1.005, allocations: 7.456 MB / 0.7075 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008944/1.014, allocations: 4.812 MB / 0.7122 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.014, allocations: 8.062 kB / 0.7122 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004074/1.018, allocations: 2.186 MB / 0.7143 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/1.024, allocations: 0.999 MB / 0.7153 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3045/1.328, allocations: 46.23 MB / 0.7604 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00427/1.333, allocations: 4.02 MB / 0.7644 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003566/1.336, allocations: 1.368 MB / 0.7657 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002966/1.339, allocations: 2.56 MB / 0.7682 GB, free: 175.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/1.339, allocations: 0 / 0.7682 GB, free: 175.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/1.497, allocations: 108.1 MB / 0.8738 GB, free: 70.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.39/19.89, allocations: 4.062 kB / 0.8738 GB, free: 70.76 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 22.484156504273415]