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_CurrentSource.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.001857/0.001857, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002244/0.002244, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.168 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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [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.001946/0.001946, allocations: 71.81 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2128, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.04794/0.2607, allocations: 42.07 MB / 474.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.2828, allocations: 11.26 MB / 485.4 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005848/0.2886, allocations: 314.9 kB / 485.8 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02043/0.3091, allocations: 8.9 MB / 494.7 MB, free: 8.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.3204, allocations: 3.671 MB / 498.3 MB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006865/0.3272, allocations: 2.463 MB / 0.489 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01776/0.345, allocations: 13.44 MB / 0.5022 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02515/0.3702, allocations: 16.4 MB / 0.5182 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009205/0.3794, allocations: 7.005 MB / 0.525 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.3917, allocations: 8.113 MB / 0.533 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003715/0.3954, allocations: 1.992 MB / 0.5349 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.4004, allocations: 2.421 MB / 0.5373 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2236/0.624, allocations: 4.047 MB / 0.5412 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01235/0.6363, allocations: 7.775 MB / 0.5488 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02396/0.6603, allocations: 26.56 MB / 0.5747 GB, free: 22.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6603, allocations: 0 / 0.5747 GB, free: 22.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6603, allocations: 0 / 0.5747 GB, free: 22.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005916/0.6609, allocations: 2 kB / 0.5748 GB, free: 22.09 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: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.03744/0.6983, allocations: 15.76 MB / 0.5901 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6983, allocations: 7.031 kB / 0.5901 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03181/0.7302, allocations: 6.198 MB / 0.5962 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/0.7471, allocations: 8.333 MB / 0.6043 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006681/0.7478, allocations: 0.9251 MB / 0.6052 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003716/0.7515, allocations: 1.229 MB / 0.6064 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/0.7928, allocations: 19.06 MB / 0.6251 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/0.7931, allocations: 27.89 kB / 0.6251 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/0.7945, allocations: 0.502 MB / 0.6256 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006871/0.7952, allocations: 0.6504 MB / 0.6262 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03544/0.8306, allocations: 17.07 MB / 0.6429 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/0.9398, allocations: 60.84 MB / 0.7023 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03147/0.9713, allocations: 33.07 MB / 0.7346 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006892/0.9782, allocations: 3.481 MB / 0.738 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2163/1.194, allocations: 9.119 MB / 0.7469 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.194, allocations: 74.45 kB / 0.747 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=361): time 5.44e-06/1.194, allocations: 1 kB / 0.747 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=403): time 0.0303/1.225, allocations: 17.95 MB / 0.7645 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.225, allocations: 95.23 kB / 0.7646 GB, free: 199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/1.231, allocations: 5.267 MB / 0.7697 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/1.231, allocations: 89.39 kB / 0.7698 GB, free: 197 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.233, allocations: 5.823 MB / 0.7755 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007874/1.234, allocations: 1.473 MB / 0.7769 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/1.236, allocations: 1.367 MB / 0.7783 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.28e-05/1.236, allocations: 305 kB / 0.7786 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/1.239, allocations: 2.976 MB / 0.7815 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00448/1.244, allocations: 6.009 MB / 0.7873 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008795/1.253, allocations: 9.686 MB / 0.7968 GB, free: 177 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-05/1.253, allocations: 27.62 kB / 0.7968 GB, free: 177 MB / 0.5762 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01402/1.267, allocations: 10.1 MB / 0.8067 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/1.267, allocations: 55.94 kB / 0.8067 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.807e-05/1.267, allocations: 100 kB / 0.8068 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/1.269, allocations: 0.9365 MB / 0.8077 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.274, allocations: 1.635 MB / 0.8093 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/1.284, allocations: 10.2 MB / 0.8193 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/1.289, allocations: 428.8 kB / 0.8197 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005407/1.289, allocations: 367.3 kB / 0.8201 GB, free: 155.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (841): * Single equations (assignments): 836 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005654/1.295, allocations: 4.304 MB / 0.8243 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.296, allocations: 0.5628 MB / 0.8248 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00939/1.305, allocations: 6.646 MB / 0.8313 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.415e-05/1.305, allocations: 19.92 kB / 0.8313 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.305, allocations: 4 kB / 0.8313 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.308, allocations: 1.133 MB / 0.8324 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/1.309, allocations: 71.94 kB / 0.8325 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.311, allocations: 219.8 kB / 0.8327 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.311, allocations: 290.9 kB / 0.833 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009715/1.321, allocations: 6.225 MB / 0.8391 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009567/1.331, allocations: 8.299 MB / 0.8472 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002487/1.333, allocations: 2.353 MB / 0.8495 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004368/1.337, allocations: 3.506 MB / 0.8529 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of Backend: time 2.8e-07/1.337, allocations: 0 / 0.8529 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009189/1.347, allocations: 5.712 MB / 0.8585 GB, free: 118 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02793/1.375, allocations: 20.34 MB / 0.8783 GB, free: 97.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.3205/1.695, allocations: 95.93 MB / 0.972 GB, free: 198.7 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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: 9.181622398085892]