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.001853/0.001853, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002318/0.002318, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.002225/0.002225, allocations: 68.75 kB / 379.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2378, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03523/0.273, allocations: 31.17 MB / 463.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2911, allocations: 8.935 MB / 472.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/0.2967, allocations: 226.9 kB / 472.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.3093, allocations: 5.026 MB / 477.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.3195, allocations: 3.128 MB / 480.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.3249, allocations: 1.654 MB / 482.6 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.3384, allocations: 8.875 MB / 491.4 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.3525, allocations: 8.396 MB / 499.8 MB, free: 3.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/0.359, allocations: 4.347 MB / 0.4924 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007664/0.3667, allocations: 4.89 MB / 0.4971 GB, free: 10 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002935/0.3696, allocations: 1.164 MB / 0.4983 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005147/0.3747, allocations: 1.562 MB / 0.4998 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002536/0.3773, allocations: 2.419 MB / 0.5022 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00564/0.3829, allocations: 4.688 MB / 0.5068 GB, free: 148 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.4002, allocations: 15.88 MB / 0.5223 GB, free: 224 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4002, allocations: 0 / 0.5223 GB, free: 224 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4002, allocations: 4 kB / 0.5223 GB, free: 220 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002903/0.4005, allocations: 0 / 0.5223 GB, free: 220 kB / 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.02851/0.4291, allocations: 9.892 MB / 0.5319 GB, free: 6.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4291, allocations: 12.02 kB / 0.5319 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02955/0.4586, allocations: 5.228 MB / 0.537 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2389/0.6975, allocations: 5.134 MB / 0.5421 GB, free: 89.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.698, allocations: 0.5348 MB / 0.5426 GB, free: 89.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.6999, allocations: 0.7097 MB / 0.5433 GB, free: 88.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.7214, allocations: 11.35 MB / 0.5544 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/0.7216, allocations: 15.78 kB / 0.5544 GB, free: 84.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.723, allocations: 301.5 kB / 0.5547 GB, free: 84.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003712/0.7234, allocations: 449.4 kB / 0.5551 GB, free: 84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.7438, allocations: 10.86 MB / 0.5657 GB, free: 76.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05426/0.7981, allocations: 36.7 MB / 0.6015 GB, free: 39.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.8099, allocations: 7.506 MB / 0.6089 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.8143, allocations: 2.444 MB / 0.6112 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/0.8279, allocations: 7.595 MB / 0.6187 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.8279, allocations: 56.56 kB / 0.6187 GB, free: 23.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.797e-06/0.8279, allocations: 0 / 0.6187 GB, free: 23.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01768/0.8456, allocations: 10.32 MB / 0.6288 GB, free: 12.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001504/0.8471, allocations: 1.891 MB / 0.6306 GB, free: 10.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.8523, allocations: 3.847 MB / 0.6344 GB, free: 6.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.8525, allocations: 61.7 kB / 0.6345 GB, free: 6.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.854, allocations: 3.687 MB / 0.6381 GB, free: 3.137 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005385/0.8545, allocations: 0.871 MB / 0.6389 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.8557, allocations: 0.9653 MB / 0.6399 GB, free: 1.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.8558, allocations: 305.1 kB / 0.6402 GB, free: 1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.8584, allocations: 1.892 MB / 0.642 GB, free: 15.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005212/0.8636, allocations: 4.4 MB / 0.6463 GB, free: 9.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009773/0.8734, allocations: 6.796 MB / 0.6529 GB, free: 1.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.8735, allocations: 24 kB / 0.653 GB, free: 1.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01486/0.8884, allocations: 7.009 MB / 0.6598 GB, free: 10.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.8885, allocations: 51.88 kB / 0.6598 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.8886, allocations: 84 kB / 0.6599 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/0.8908, allocations: 0.7385 MB / 0.6607 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.8948, allocations: 1.119 MB / 0.6617 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/0.9031, allocations: 5.549 MB / 0.6672 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.907, allocations: 315.4 kB / 0.6675 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006901/0.9077, allocations: 279.9 kB / 0.6677 GB, free: 2.168 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.00486/0.9126, allocations: 2.518 MB / 0.6702 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.9136, allocations: 409.4 kB / 0.6706 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008616/0.9223, allocations: 4.251 MB / 0.6747 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.9223, allocations: 24 kB / 0.6748 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.9223, allocations: 11.94 kB / 0.6748 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.9223, allocations: 11.95 kB / 0.6748 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02557/0.9479, allocations: 14.01 MB / 0.6885 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.9479, allocations: 12 kB / 0.6885 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.9499, allocations: 483.3 kB / 0.6889 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.952, allocations: 0.6859 MB / 0.6896 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.9522, allocations: 79.72 kB / 0.6897 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.9627, allocations: 7.295 MB / 0.6968 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002015/0.9647, allocations: 1.854 MB / 0.6986 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.9771, allocations: 6.754 MB / 0.7052 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/0.9798, allocations: 0.7626 MB / 0.7059 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/0.981, allocations: 63.92 kB / 0.706 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/0.9835, allocations: 159.8 kB / 0.7062 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/0.9841, allocations: 233.4 kB / 0.7064 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/0.9844, allocations: 91.98 kB / 0.7065 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005413/0.9898, allocations: 2.522 MB / 0.7089 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9898, allocations: 4 kB / 0.7089 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005851/0.9956, allocations: 1.289 MB / 0.7102 GB, free: 5.77 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.0006956/0.9963, allocations: 238.4 kB / 0.7104 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00922/1.006, allocations: 4.823 MB / 0.7151 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.006, allocations: 0 / 0.7151 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/1.01, allocations: 2.189 MB / 0.7173 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/1.017, allocations: 0.9995 MB / 0.7183 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.043, allocations: 12.58 MB / 0.7305 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005257/1.049, allocations: 4.501 MB / 0.7349 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004113/1.053, allocations: 1.368 MB / 0.7363 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008532/1.054, allocations: 307.4 kB / 0.7366 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.054, allocations: 0 / 0.7366 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Templates: time 0.3014/1.355, allocations: 58.14 MB / 0.7933 GB, free: 154.5 MB / 0.545 GB " [Timeout remaining time 659] 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/jenkins/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/jenkins/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: 7.501637002453208]