Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00912/0.00912, allocations: 104.4 kB / 21.98 MB, free: 5.223 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.002159/0.002159, allocations: 222.6 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0-beta.om_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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.53 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2795, allocations: 53.38 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03677/0.3163, allocations: 31.17 MB / 464.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.3374, allocations: 8.927 MB / 473.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006617/0.344, allocations: 230.9 kB / 473.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01363/0.3577, allocations: 5.024 MB / 478.6 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.369, allocations: 3.127 MB / 481.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00581/0.3748, allocations: 1.66 MB / 483.3 MB, free: 4.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.3894, allocations: 8.866 MB / 492.2 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01716/0.4065, allocations: 9.226 MB / 0.4897 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008229/0.4148, allocations: 4.355 MB / 0.4939 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009627/0.4244, allocations: 4.897 MB / 0.4987 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003771/0.4282, allocations: 1.16 MB / 0.4998 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.4338, allocations: 1.57 MB / 0.5014 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004638/0.4385, allocations: 2.419 MB / 0.5037 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009638/0.4481, allocations: 4.673 MB / 0.5083 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02352/0.4716, allocations: 15.89 MB / 0.5238 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4716, allocations: 0 / 0.5238 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4716, allocations: 0 / 0.5238 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004185/0.4721, allocations: 0 / 0.5238 GB, free: 15.32 MB / 446.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.03099/0.5031, allocations: 9.892 MB / 0.5335 GB, free: 5.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5031, allocations: 15.97 kB / 0.5335 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03015/0.5332, allocations: 5.22 MB / 0.5386 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2314/0.7647, allocations: 5.14 MB / 0.5436 GB, free: 89.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/0.7651, allocations: 0.5299 MB / 0.5441 GB, free: 89.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/0.7677, allocations: 0.7088 MB / 0.5448 GB, free: 88.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.7943, allocations: 11.35 MB / 0.5559 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.7946, allocations: 23.48 kB / 0.5559 GB, free: 84.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001728/0.7963, allocations: 295.2 kB / 0.5562 GB, free: 83.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004577/0.7968, allocations: 446.7 kB / 0.5566 GB, free: 83.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.8169, allocations: 10.87 MB / 0.5673 GB, free: 75.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05606/0.873, allocations: 36.69 MB / 0.6031 GB, free: 38.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.8839, allocations: 7.511 MB / 0.6104 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.8875, allocations: 2.437 MB / 0.6128 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/0.8997, allocations: 7.583 MB / 0.6202 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.8998, allocations: 60.5 kB / 0.6203 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.468e-06/0.8998, allocations: 4 kB / 0.6203 GB, free: 22.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01814/0.9179, allocations: 10.33 MB / 0.6304 GB, free: 12.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001566/0.9195, allocations: 1.902 MB / 0.6322 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/0.9247, allocations: 3.843 MB / 0.636 GB, free: 6.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004391/0.9251, allocations: 69.7 kB / 0.636 GB, free: 6.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.9267, allocations: 3.68 MB / 0.6396 GB, free: 2.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007823/0.9275, allocations: 0.8711 MB / 0.6405 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.9287, allocations: 0.9614 MB / 0.6414 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.9287, allocations: 309.1 kB / 0.6417 GB, free: 352 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.9318, allocations: 1.898 MB / 0.6436 GB, free: 14.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/0.9377, allocations: 4.392 MB / 0.6479 GB, free: 8.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.9479, allocations: 6.804 MB / 0.6545 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.74e-05/0.948, allocations: 24 kB / 0.6545 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01423/0.9622, allocations: 7.002 MB / 0.6614 GB, free: 9.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/0.9623, allocations: 40 kB / 0.6614 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.9625, allocations: 91.94 kB / 0.6615 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.9646, allocations: 0.7382 MB / 0.6622 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/0.9687, allocations: 1.119 MB / 0.6633 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008431/0.9771, allocations: 5.552 MB / 0.6687 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.9814, allocations: 311.4 kB / 0.669 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008556/0.9822, allocations: 279.9 kB / 0.6693 GB, free: 1.52 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.005164/0.9874, allocations: 2.527 MB / 0.6718 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/0.9886, allocations: 405.4 kB / 0.6721 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008454/0.997, allocations: 4.255 MB / 0.6763 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.997, allocations: 24 kB / 0.6763 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.997, allocations: 7.938 kB / 0.6763 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/0.9971, allocations: 15.89 kB / 0.6763 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.024, allocations: 14.01 MB / 0.69 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/1.024, allocations: 12 kB / 0.69 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/1.026, allocations: 479.3 kB / 0.6905 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/1.028, allocations: 0.6934 MB / 0.6912 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003227/1.029, allocations: 75.92 kB / 0.6912 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/1.039, allocations: 7.288 MB / 0.6984 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002021/1.041, allocations: 1.854 MB / 0.7002 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.053, allocations: 6.762 MB / 0.7068 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.056, allocations: 0.7588 MB / 0.7075 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.057, allocations: 63.92 kB / 0.7076 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.059, allocations: 159.8 kB / 0.7077 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/1.06, allocations: 237.3 kB / 0.7079 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.06, allocations: 91.97 kB / 0.708 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005239/1.065, allocations: 2.518 MB / 0.7105 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/1.065, allocations: 0 / 0.7105 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006329/1.072, allocations: 1.289 MB / 0.7118 GB, free: 5.098 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.0008397/1.072, allocations: 242.5 kB / 0.712 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009107/1.081, allocations: 4.822 MB / 0.7167 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.082, allocations: 0 / 0.7167 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/1.086, allocations: 2.186 MB / 0.7188 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/1.092, allocations: 0.9982 MB / 0.7198 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.117, allocations: 12.48 MB / 0.732 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005816/1.123, allocations: 4.387 MB / 0.7363 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.124, allocations: 347.4 kB / 0.7366 GB, free: 11.36 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.124, allocations: 0 / 0.7366 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Templates: time 0.4497/1.574, allocations: 203.3 MB / 0.9352 GB, free: 8.398 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/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-beta.om_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: 18.37793935998343]