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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.4 MB / 251.1 MB, free: 8.512 MB / 206.1 MB 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.001934/0.001934, allocations: 67.83 kB / 369 MB, free: 6.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2413, allocations: 53.32 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03662/0.2779, allocations: 31.1 MB / 453.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.2983, allocations: 8.919 MB / 462.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005965/0.3043, allocations: 191.4 kB / 462.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01374/0.318, allocations: 5.006 MB / 467.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3284, allocations: 3.061 MB / 470.6 MB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.3338, allocations: 1.642 MB / 472.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01416/0.348, allocations: 8.822 MB / 481 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01993/0.3679, allocations: 9.959 MB / 491 MB, free: 2.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00771/0.3756, allocations: 4.25 MB / 495.2 MB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008735/0.3844, allocations: 4.901 MB / 0.4884 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003474/0.3878, allocations: 1.164 MB / 0.4896 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.393, allocations: 1.55 MB / 0.4911 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003973/0.397, allocations: 2.415 MB / 0.4934 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008155/0.4051, allocations: 4.676 MB / 0.498 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02455/0.4297, allocations: 15.88 MB / 0.5135 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4297, allocations: 0 / 0.5135 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4297, allocations: 0 / 0.5135 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005142/0.4302, allocations: 0 / 0.5135 GB, free: 15.88 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.03224/0.4624, allocations: 9.979 MB / 0.5232 GB, free: 5.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4625, allocations: 12.03 kB / 0.5233 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03064/0.4931, allocations: 5.228 MB / 0.5284 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.5058, allocations: 5.146 MB / 0.5334 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007834/0.5066, allocations: 0.5299 MB / 0.5339 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/0.5099, allocations: 0.7069 MB / 0.5346 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2647/0.7746, allocations: 11.34 MB / 0.5457 GB, free: 102.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.7749, allocations: 15.8 kB / 0.5457 GB, free: 102.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.7764, allocations: 296.7 kB / 0.546 GB, free: 102.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005572/0.777, allocations: 445.6 kB / 0.5464 GB, free: 102.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.7969, allocations: 10.87 MB / 0.557 GB, free: 98.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05474/0.8517, allocations: 38.58 MB / 0.5947 GB, free: 67.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.8652, allocations: 27.98 MB / 0.622 GB, free: 35.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003536/0.8687, allocations: 2.448 MB / 0.6244 GB, free: 33.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.8795, allocations: 8.472 MB / 0.6327 GB, free: 24.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.8795, allocations: 56.56 kB / 0.6327 GB, free: 24.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.336e-06/0.8795, allocations: 3.969 kB / 0.6327 GB, free: 24.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.01686/0.8964, allocations: 10.47 MB / 0.643 GB, free: 14.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001412/0.8978, allocations: 2.016 MB / 0.6449 GB, free: 12.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/0.9022, allocations: 3.849 MB / 0.6487 GB, free: 8.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.9026, allocations: 65.7 kB / 0.6487 GB, free: 8.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.9039, allocations: 3.684 MB / 0.6523 GB, free: 4.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.9046, allocations: 0.8633 MB / 0.6532 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.9057, allocations: 0.9653 MB / 0.6541 GB, free: 2.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.287e-05/0.9057, allocations: 305.1 kB / 0.6544 GB, free: 2.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.9079, allocations: 1.895 MB / 0.6563 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/0.9127, allocations: 4.401 MB / 0.6606 GB, free: 11.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/0.9219, allocations: 6.796 MB / 0.6672 GB, free: 3.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-05/0.922, allocations: 24 kB / 0.6672 GB, free: 3.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01303/0.935, allocations: 7.001 MB / 0.6741 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.9351, allocations: 44 kB / 0.6741 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.9352, allocations: 84 kB / 0.6742 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.9373, allocations: 0.746 MB / 0.6749 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.9411, allocations: 1.119 MB / 0.676 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.9491, allocations: 5.629 MB / 0.6815 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.9531, allocations: 323.3 kB / 0.6818 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007139/0.9538, allocations: 276 kB / 0.6821 GB, free: 3.648 MB / 494.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.004581/0.9584, allocations: 2.526 MB / 0.6845 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009432/0.9593, allocations: 401.5 kB / 0.6849 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/0.9669, allocations: 4.256 MB / 0.6891 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.9669, allocations: 24 kB / 0.6891 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.9669, allocations: 4 kB / 0.6891 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.9669, allocations: 15.89 kB / 0.6891 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/0.9908, allocations: 14.31 MB / 0.7031 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.9908, allocations: 12 kB / 0.7031 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.9926, allocations: 487.2 kB / 0.7036 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.9947, allocations: 0.6861 MB / 0.7042 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.9949, allocations: 75.73 kB / 0.7043 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009801/1.005, allocations: 7.503 MB / 0.7116 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001938/1.007, allocations: 1.961 MB / 0.7136 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.018, allocations: 6.762 MB / 0.7202 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.02, allocations: 0.8223 MB / 0.721 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/1.021, allocations: 63.98 kB / 0.721 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.023, allocations: 159.8 kB / 0.7212 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/1.023, allocations: 229.4 kB / 0.7214 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.023, allocations: 95.97 kB / 0.7215 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004314/1.028, allocations: 2.518 MB / 0.7239 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 4 kB / 0.724 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005386/1.033, allocations: 1.293 MB / 0.7252 GB, free: 6.48 MB / 0.5294 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.0006604/1.034, allocations: 238.6 kB / 0.7254 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008982/1.043, allocations: 4.958 MB / 0.7303 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.043, allocations: 4 kB / 0.7303 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004022/1.047, allocations: 2.266 MB / 0.7325 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/1.051, allocations: 0.9899 MB / 0.7335 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.074, allocations: 12.58 MB / 0.7458 GB, free: 1.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2253/1.3, allocations: 4.496 MB / 0.7501 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003866/1.303, allocations: 1.375 MB / 0.7515 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/1.304, allocations: 305.5 kB / 0.7518 GB, free: 182 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.304, allocations: 0 / 0.7518 GB, free: 182 MB / 0.545 GB Notification: Performance of Templates: time 0.08762/1.392, allocations: 55.18 MB / 0.8057 GB, free: 145.4 MB / 0.545 GB 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] Reference file matches